@paygentic/sdk 0.9.9 → 0.9.11
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/commonjs/funcs/subscriptionsReconcileSubscriptionFeatures.js +2 -2
- package/dist/commonjs/funcs/subscriptionsReconcileSubscriptionFeatures.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/costreportresponse.d.ts +20 -0
- package/dist/commonjs/models/costreportresponse.d.ts.map +1 -1
- package/dist/commonjs/models/costreportresponse.js +12 -1
- package/dist/commonjs/models/costreportresponse.js.map +1 -1
- package/dist/commonjs/models/invoice.d.ts +3 -3
- package/dist/commonjs/models/invoice.js +1 -1
- package/dist/commonjs/models/lineitem.d.ts +1 -1
- package/dist/commonjs/models/profitabilitysummaryresponse.d.ts +40 -0
- package/dist/commonjs/models/profitabilitysummaryresponse.d.ts.map +1 -1
- package/dist/commonjs/models/profitabilitysummaryresponse.js +21 -1
- package/dist/commonjs/models/profitabilitysummaryresponse.js.map +1 -1
- package/dist/commonjs/models/revenuesummaryresponse.d.ts +20 -0
- package/dist/commonjs/models/revenuesummaryresponse.d.ts.map +1 -1
- package/dist/commonjs/models/revenuesummaryresponse.js +11 -1
- package/dist/commonjs/models/revenuesummaryresponse.js.map +1 -1
- package/dist/esm/funcs/subscriptionsReconcileSubscriptionFeatures.js +2 -2
- package/dist/esm/funcs/subscriptionsReconcileSubscriptionFeatures.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/costreportresponse.d.ts +20 -0
- package/dist/esm/models/costreportresponse.d.ts.map +1 -1
- package/dist/esm/models/costreportresponse.js +10 -0
- package/dist/esm/models/costreportresponse.js.map +1 -1
- package/dist/esm/models/invoice.d.ts +3 -3
- package/dist/esm/models/invoice.js +1 -1
- package/dist/esm/models/lineitem.d.ts +1 -1
- package/dist/esm/models/profitabilitysummaryresponse.d.ts +40 -0
- package/dist/esm/models/profitabilitysummaryresponse.d.ts.map +1 -1
- package/dist/esm/models/profitabilitysummaryresponse.js +18 -0
- package/dist/esm/models/profitabilitysummaryresponse.js.map +1 -1
- package/dist/esm/models/revenuesummaryresponse.d.ts +20 -0
- package/dist/esm/models/revenuesummaryresponse.d.ts.map +1 -1
- package/dist/esm/models/revenuesummaryresponse.js +9 -0
- package/dist/esm/models/revenuesummaryresponse.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/subscriptionsReconcileSubscriptionFeatures.ts +2 -2
- package/src/lib/config.ts +2 -2
- package/src/models/costreportresponse.ts +40 -0
- package/src/models/invoice.ts +3 -3
- package/src/models/lineitem.ts +1 -1
- package/src/models/profitabilitysummaryresponse.ts +89 -0
- package/src/models/revenuesummaryresponse.ts +42 -0
|
@@ -105,7 +105,7 @@ async function $do(client, request, options) {
|
|
|
105
105
|
const req = requestRes.value;
|
|
106
106
|
const doResult = await client._do(req, {
|
|
107
107
|
context,
|
|
108
|
-
errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"],
|
|
108
|
+
errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "503", "5XX"],
|
|
109
109
|
retryConfig: context.retryConfig,
|
|
110
110
|
retryCodes: context.retryCodes,
|
|
111
111
|
});
|
|
@@ -116,7 +116,7 @@ async function $do(client, request, options) {
|
|
|
116
116
|
const responseFields = {
|
|
117
117
|
HttpMeta: { Response: response, Request: req },
|
|
118
118
|
};
|
|
119
|
-
const [result] = await M.match(M.json([200, 201], models.SubscriptionReconciliation$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
119
|
+
const [result] = await M.match(M.json([200, 201], models.SubscriptionReconciliation$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorT$inboundSchema), M.jsonErr([500, 503], errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
120
120
|
if (!result.ok) {
|
|
121
121
|
return [result, { status: "complete", request: req, response }];
|
|
122
122
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsReconcileSubscriptionFeatures.js","sourceRoot":"","sources":["../../../src/funcs/subscriptionsReconcileSubscriptionFeatures.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,gGAwBC;AArDD,sDAA+D;AAC/D,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,2DAA6C;AAC7C,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,0CAA0C,CACxD,MAAqB,EACrB,OAAwD,EACxD,OAAwB;IAgBxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAwD,EACxD,OAAwB;IAmBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,mDAAmD,CAAC,KAAK,CAClE,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAA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EAAE,KAAK,EAAE,KAAK,CAAC;KACvE,CAAC;IAEF,MAAM,UAAU,GAAG,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE;QAChD,QAAQ,EAAE,eAAe;QACzB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,OAAO,EAAE,SAAS;QAC3B,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,IAAI;QACV,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,SAAS;QACpC,SAAS,EAAE,OAAO,EAAE,SAAS,IAAI,MAAM,CAAC,QAAQ,CAAC,SAAS,IAAI,CAAC,CAAC;KACjE,EAAE,OAAO,CAAC,CAAC;IACZ,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"subscriptionsReconcileSubscriptionFeatures.js","sourceRoot":"","sources":["../../../src/funcs/subscriptionsReconcileSubscriptionFeatures.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCH,gGAwBC;AArDD,sDAA+D;AAC/D,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,2DAA6C;AAC7C,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;GAKG;AACH,SAAgB,0CAA0C,CACxD,MAAqB,EACrB,OAAwD,EACxD,OAAwB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GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.1.0";
|
|
34
|
-
readonly sdkVersion: "0.9.
|
|
34
|
+
readonly sdkVersion: "0.9.11";
|
|
35
35
|
readonly genVersion: "2.879.13";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.9.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.11 2.879.13 0.1.0 @paygentic/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "0.1.0",
|
|
38
|
-
sdkVersion: "0.9.
|
|
38
|
+
sdkVersion: "0.9.11",
|
|
39
39
|
genVersion: "2.879.13",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.9.11 2.879.13 0.1.0 @paygentic/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA6CH,oDAeC;AAvDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB;;OAEG;IACH,0BAA0B;IAC1B;;OAEG;IACH,kCAAkC;CAC1B,CAAC;AA0BX,SAAgB,oBAAo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AAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,UAAU;IACtB,SAAS,EAAE,+DAA+D;CAClE,CAAC"}
|
|
@@ -17,6 +17,19 @@ export type Pagination = {
|
|
|
17
17
|
limit: number;
|
|
18
18
|
offset: number;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Where the caller's cost data actually lies in time. Present only when the selected range returned no cost. An object carries the bounds of the real cost events; null means the caller has no cost event at any time; an absent field means the extent was not resolved, because the result was not empty, because the lookup failed, or because the metering service does not serve the bounds method. An absent field must never be read as an absence.
|
|
22
|
+
*/
|
|
23
|
+
export type CostReportResponseCostRange = {
|
|
24
|
+
/**
|
|
25
|
+
* Earliest cost event instant.
|
|
26
|
+
*/
|
|
27
|
+
from: Date;
|
|
28
|
+
/**
|
|
29
|
+
* Latest cost event instant.
|
|
30
|
+
*/
|
|
31
|
+
to: Date;
|
|
32
|
+
};
|
|
20
33
|
export type CostReportResponse = {
|
|
21
34
|
object: CostReportResponseObject;
|
|
22
35
|
/**
|
|
@@ -53,6 +66,10 @@ export type CostReportResponse = {
|
|
|
53
66
|
*/
|
|
54
67
|
warnings?: Array<string> | undefined;
|
|
55
68
|
pagination: Pagination;
|
|
69
|
+
/**
|
|
70
|
+
* Where the caller's cost data actually lies in time. Present only when the selected range returned no cost. An object carries the bounds of the real cost events; null means the caller has no cost event at any time; an absent field means the extent was not resolved, because the result was not empty, because the lookup failed, or because the metering service does not serve the bounds method. An absent field must never be read as an absence.
|
|
71
|
+
*/
|
|
72
|
+
costRange?: CostReportResponseCostRange | null | undefined;
|
|
56
73
|
};
|
|
57
74
|
/** @internal */
|
|
58
75
|
export declare const CostReportResponseObject$inboundSchema: z.ZodNativeEnum<typeof CostReportResponseObject>;
|
|
@@ -63,6 +80,9 @@ export declare function periodFromJSON(jsonString: string): SafeParseResult<Peri
|
|
|
63
80
|
export declare const Pagination$inboundSchema: z.ZodType<Pagination, z.ZodTypeDef, unknown>;
|
|
64
81
|
export declare function paginationFromJSON(jsonString: string): SafeParseResult<Pagination, SDKValidationError>;
|
|
65
82
|
/** @internal */
|
|
83
|
+
export declare const CostReportResponseCostRange$inboundSchema: z.ZodType<CostReportResponseCostRange, z.ZodTypeDef, unknown>;
|
|
84
|
+
export declare function costReportResponseCostRangeFromJSON(jsonString: string): SafeParseResult<CostReportResponseCostRange, SDKValidationError>;
|
|
85
|
+
/** @internal */
|
|
66
86
|
export declare const CostReportResponse$inboundSchema: z.ZodType<CostReportResponse, z.ZodTypeDef, unknown>;
|
|
67
87
|
export declare function costReportResponseFromJSON(jsonString: string): SafeParseResult<CostReportResponse, SDKValidationError>;
|
|
68
88
|
//# sourceMappingURL=costreportresponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"costreportresponse.d.ts","sourceRoot":"","sources":["../../../src/models/costreportresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,EAAE,EAAE,IAAI,CAAC;CACV,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,wBAAwB,CAAC;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACxC;;OAEG;IACH,mBAAmB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,UAAU,EAAE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"costreportresponse.d.ts","sourceRoot":"","sources":["../../../src/models/costreportresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE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AwB,CACS,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAItE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD;AAED,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -36,9 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.CostReportResponse$inboundSchema = exports.Pagination$inboundSchema = exports.Period$inboundSchema = exports.CostReportResponseObject$inboundSchema = exports.CostReportResponseObject = void 0;
|
|
39
|
+
exports.CostReportResponse$inboundSchema = exports.CostReportResponseCostRange$inboundSchema = exports.Pagination$inboundSchema = exports.Period$inboundSchema = exports.CostReportResponseObject$inboundSchema = exports.CostReportResponseObject = void 0;
|
|
40
40
|
exports.periodFromJSON = periodFromJSON;
|
|
41
41
|
exports.paginationFromJSON = paginationFromJSON;
|
|
42
|
+
exports.costReportResponseCostRangeFromJSON = costReportResponseCostRangeFromJSON;
|
|
42
43
|
exports.costReportResponseFromJSON = costReportResponseFromJSON;
|
|
43
44
|
const z = __importStar(require("zod/v3"));
|
|
44
45
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
@@ -68,6 +69,14 @@ function paginationFromJSON(jsonString) {
|
|
|
68
69
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Pagination$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Pagination' from JSON`);
|
|
69
70
|
}
|
|
70
71
|
/** @internal */
|
|
72
|
+
exports.CostReportResponseCostRange$inboundSchema = z.object({
|
|
73
|
+
from: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
74
|
+
to: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
75
|
+
});
|
|
76
|
+
function costReportResponseCostRangeFromJSON(jsonString) {
|
|
77
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CostReportResponseCostRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CostReportResponseCostRange' from JSON`);
|
|
78
|
+
}
|
|
79
|
+
/** @internal */
|
|
71
80
|
exports.CostReportResponse$inboundSchema = z.object({
|
|
72
81
|
object: exports.CostReportResponseObject$inboundSchema.default("cost_report"),
|
|
73
82
|
currency: z.string(),
|
|
@@ -80,6 +89,8 @@ exports.CostReportResponse$inboundSchema = z.object({
|
|
|
80
89
|
availableDimensions: z.array(z.string()),
|
|
81
90
|
warnings: z.array(z.string()).optional(),
|
|
82
91
|
pagination: z.lazy(() => exports.Pagination$inboundSchema),
|
|
92
|
+
costRange: z.nullable(z.lazy(() => exports.CostReportResponseCostRange$inboundSchema))
|
|
93
|
+
.optional(),
|
|
83
94
|
});
|
|
84
95
|
function costReportResponseFromJSON(jsonString) {
|
|
85
96
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CostReportResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CostReportResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"costreportresponse.js","sourceRoot":"","sources":["../../../src/models/costreportresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"costreportresponse.js","sourceRoot":"","sources":["../../../src/models/costreportresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsGH,wCAQC;AAaD,gDAQC;AAYD,kFAQC;AAuBD,gEAQC;AApLD,0CAA4B;AAC5B,kDAA8C;AAG9C,6DAG8B;AAC9B,uEAGmC;AAGtB,QAAA,wBAAwB,GAAG;IACtC,UAAU,EAAE,aAAa;CACjB,CAAC;AAwEX,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,CAAC,CAAC,UAAU,CAAC,gCAAwB,CAAC,CAAC;AAE3C,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IACvE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CACtE,CAAC,CAAC;AAEL,SAAgB,cAAc,CAC5B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,C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Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `
|
|
54
|
+
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `null`, and never `paygentic`: an invoice whose document is withheld is not served the provider's in its place, because recording that link would mark the invoice as already served and stop a later repair rendering ours. Use it to tell a withheld invoice apart from one that simply has no document yet — both report pdfSource `null`, and only a withheld one names why. An invoice the tax provider serves by design reports pdfSource `tax_provider` with no reason, and needs no repair. Both an invoice with no document and a withheld one can be repaired by POST /v2/invoices/{id}/generate-pdf. `tax_unreconciled`: the provider's tax figure was never recorded against this invoice. `issuer_identity_incomplete`: the registered legal name, tax ID or address could not be read. `tax_component_unpriceable`: a recorded tax component carried no presentable amount. `ledger_mismatch`: the recorded tax figures and the invoice's own totals disagree. `tax_provider_disagrees`: the provider re-read its filing and reported a different tax to the one this invoice was charged — terminal, because correcting an issued invoice is a credit note's job, so retrying the repair cannot clear it. New values may be added, so treat an unrecognised one as withheld rather than failing.
|
|
55
55
|
*/
|
|
56
56
|
export declare const DocumentWithheldReason: {
|
|
57
57
|
readonly TaxUnreconciled: "tax_unreconciled";
|
|
@@ -61,7 +61,7 @@ export declare const DocumentWithheldReason: {
|
|
|
61
61
|
readonly TaxProviderDisagrees: "tax_provider_disagrees";
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `
|
|
64
|
+
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `null`, and never `paygentic`: an invoice whose document is withheld is not served the provider's in its place, because recording that link would mark the invoice as already served and stop a later repair rendering ours. Use it to tell a withheld invoice apart from one that simply has no document yet — both report pdfSource `null`, and only a withheld one names why. An invoice the tax provider serves by design reports pdfSource `tax_provider` with no reason, and needs no repair. Both an invoice with no document and a withheld one can be repaired by POST /v2/invoices/{id}/generate-pdf. `tax_unreconciled`: the provider's tax figure was never recorded against this invoice. `issuer_identity_incomplete`: the registered legal name, tax ID or address could not be read. `tax_component_unpriceable`: a recorded tax component carried no presentable amount. `ledger_mismatch`: the recorded tax figures and the invoice's own totals disagree. `tax_provider_disagrees`: the provider re-read its filing and reported a different tax to the one this invoice was charged — terminal, because correcting an issued invoice is a credit note's job, so retrying the repair cannot clear it. New values may be added, so treat an unrecognised one as withheld rather than failing.
|
|
65
65
|
*/
|
|
66
66
|
export type DocumentWithheldReason = OpenEnum<typeof DocumentWithheldReason>;
|
|
67
67
|
/**
|
|
@@ -213,7 +213,7 @@ export type Invoice = {
|
|
|
213
213
|
*/
|
|
214
214
|
pdfSource?: PdfSource | null | undefined;
|
|
215
215
|
/**
|
|
216
|
-
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `
|
|
216
|
+
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `null`, and never `paygentic`: an invoice whose document is withheld is not served the provider's in its place, because recording that link would mark the invoice as already served and stop a later repair rendering ours. Use it to tell a withheld invoice apart from one that simply has no document yet — both report pdfSource `null`, and only a withheld one names why. An invoice the tax provider serves by design reports pdfSource `tax_provider` with no reason, and needs no repair. Both an invoice with no document and a withheld one can be repaired by POST /v2/invoices/{id}/generate-pdf. `tax_unreconciled`: the provider's tax figure was never recorded against this invoice. `issuer_identity_incomplete`: the registered legal name, tax ID or address could not be read. `tax_component_unpriceable`: a recorded tax component carried no presentable amount. `ledger_mismatch`: the recorded tax figures and the invoice's own totals disagree. `tax_provider_disagrees`: the provider re-read its filing and reported a different tax to the one this invoice was charged — terminal, because correcting an issued invoice is a credit note's job, so retrying the repair cannot clear it. New values may be added, so treat an unrecognised one as withheld rather than failing.
|
|
217
217
|
*/
|
|
218
218
|
documentWithheldReason?: DocumentWithheldReason | null | undefined;
|
|
219
219
|
/**
|
|
@@ -59,7 +59,7 @@ exports.PdfSource = {
|
|
|
59
59
|
TaxProvider: "tax_provider",
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `
|
|
62
|
+
* Why no Paygentic-rendered document exists for this invoice, or null when none was withheld. A tax-registered merchant's document is a compliance artefact, so it is withheld unless the recorded tax reconciles with the provider exactly and the registered issuer identity is complete. Non-null therefore always accompanies pdfSource `null`, and never `paygentic`: an invoice whose document is withheld is not served the provider's in its place, because recording that link would mark the invoice as already served and stop a later repair rendering ours. Use it to tell a withheld invoice apart from one that simply has no document yet — both report pdfSource `null`, and only a withheld one names why. An invoice the tax provider serves by design reports pdfSource `tax_provider` with no reason, and needs no repair. Both an invoice with no document and a withheld one can be repaired by POST /v2/invoices/{id}/generate-pdf. `tax_unreconciled`: the provider's tax figure was never recorded against this invoice. `issuer_identity_incomplete`: the registered legal name, tax ID or address could not be read. `tax_component_unpriceable`: a recorded tax component carried no presentable amount. `ledger_mismatch`: the recorded tax figures and the invoice's own totals disagree. `tax_provider_disagrees`: the provider re-read its filing and reported a different tax to the one this invoice was charged — terminal, because correcting an issued invoice is a credit note's job, so retrying the repair cannot clear it. New values may be added, so treat an unrecognised one as withheld rather than failing.
|
|
63
63
|
*/
|
|
64
64
|
exports.DocumentWithheldReason = {
|
|
65
65
|
TaxUnreconciled: "tax_unreconciled",
|
|
@@ -144,7 +144,7 @@ export type LineItem = {
|
|
|
144
144
|
*/
|
|
145
145
|
estimatedMeteredQuantity?: string | null | undefined;
|
|
146
146
|
/**
|
|
147
|
-
* Real-time estimated subtotal
|
|
147
|
+
* Real-time estimated subtotal for a line whose amount is not final yet: current usage for a metered item, the rate the subscription is on for a fee. Null for manual items, and for any line whose amount is already final or cannot be estimated.
|
|
148
148
|
*/
|
|
149
149
|
estimatedSubtotal?: string | null | undefined;
|
|
150
150
|
};
|
|
@@ -2,6 +2,32 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
4
|
import { ProfitabilityRow } from "./profitabilityrow.js";
|
|
5
|
+
/**
|
|
6
|
+
* Where the caller's revenue actually lies in time. Scoped by the same filters as the request (merchant, and where given customer, subscription and currency), so it is not an account-wide statement. Present only when the selected range returned nothing. An object carries the bounds of the real revenue; null means no revenue under these filters at any time; an absent field means the extent was not resolved, because the result was not empty or because the lookup failed. An absent field must never be read as an absence. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
|
|
7
|
+
*/
|
|
8
|
+
export type ProfitabilitySummaryResponseRevenueRange = {
|
|
9
|
+
/**
|
|
10
|
+
* Earliest invoice issue instant.
|
|
11
|
+
*/
|
|
12
|
+
from: Date;
|
|
13
|
+
/**
|
|
14
|
+
* Latest invoice issue instant.
|
|
15
|
+
*/
|
|
16
|
+
to: Date;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Where the caller's cost data actually lies in time. Present only when the selected range returned no cost. An object carries the bounds of the real cost events; null means the caller has no cost event at any time; an absent field means the extent was not resolved, because the result was not empty, because the lookup failed, or because the metering service does not serve the bounds method. An absent field must never be read as an absence.
|
|
20
|
+
*/
|
|
21
|
+
export type ProfitabilitySummaryResponseCostRange = {
|
|
22
|
+
/**
|
|
23
|
+
* Earliest cost event instant.
|
|
24
|
+
*/
|
|
25
|
+
from: Date;
|
|
26
|
+
/**
|
|
27
|
+
* Latest cost event instant.
|
|
28
|
+
*/
|
|
29
|
+
to: Date;
|
|
30
|
+
};
|
|
5
31
|
export type ProfitabilitySummaryResponse = {
|
|
6
32
|
/**
|
|
7
33
|
* Object type identifier
|
|
@@ -19,8 +45,22 @@ export type ProfitabilitySummaryResponse = {
|
|
|
19
45
|
* Non-fatal warnings collected during cost discovery (e.g. an individual cost query failed). Empty array on a clean run.
|
|
20
46
|
*/
|
|
21
47
|
warnings?: Array<string> | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Where the caller's revenue actually lies in time. Scoped by the same filters as the request (merchant, and where given customer, subscription and currency), so it is not an account-wide statement. Present only when the selected range returned nothing. An object carries the bounds of the real revenue; null means no revenue under these filters at any time; an absent field means the extent was not resolved, because the result was not empty or because the lookup failed. An absent field must never be read as an absence. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
|
|
50
|
+
*/
|
|
51
|
+
revenueRange?: ProfitabilitySummaryResponseRevenueRange | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Where the caller's cost data actually lies in time. Present only when the selected range returned no cost. An object carries the bounds of the real cost events; null means the caller has no cost event at any time; an absent field means the extent was not resolved, because the result was not empty, because the lookup failed, or because the metering service does not serve the bounds method. An absent field must never be read as an absence.
|
|
54
|
+
*/
|
|
55
|
+
costRange?: ProfitabilitySummaryResponseCostRange | null | undefined;
|
|
22
56
|
};
|
|
23
57
|
/** @internal */
|
|
58
|
+
export declare const ProfitabilitySummaryResponseRevenueRange$inboundSchema: z.ZodType<ProfitabilitySummaryResponseRevenueRange, z.ZodTypeDef, unknown>;
|
|
59
|
+
export declare function profitabilitySummaryResponseRevenueRangeFromJSON(jsonString: string): SafeParseResult<ProfitabilitySummaryResponseRevenueRange, SDKValidationError>;
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const ProfitabilitySummaryResponseCostRange$inboundSchema: z.ZodType<ProfitabilitySummaryResponseCostRange, z.ZodTypeDef, unknown>;
|
|
62
|
+
export declare function profitabilitySummaryResponseCostRangeFromJSON(jsonString: string): SafeParseResult<ProfitabilitySummaryResponseCostRange, SDKValidationError>;
|
|
63
|
+
/** @internal */
|
|
24
64
|
export declare const ProfitabilitySummaryResponse$inboundSchema: z.ZodType<ProfitabilitySummaryResponse, z.ZodTypeDef, unknown>;
|
|
25
65
|
export declare function profitabilitySummaryResponseFromJSON(jsonString: string): SafeParseResult<ProfitabilitySummaryResponse, SDKValidationError>;
|
|
26
66
|
//# sourceMappingURL=profitabilitysummaryresponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profitabilitysummaryresponse.d.ts","sourceRoot":"","sources":["../../../src/models/profitabilitysummaryresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"profitabilitysummaryresponse.d.ts","sourceRoot":"","sources":["../../../src/models/profitabilitysummaryresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IA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UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAYP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -36,17 +36,37 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ProfitabilitySummaryResponse$inboundSchema = void 0;
|
|
39
|
+
exports.ProfitabilitySummaryResponse$inboundSchema = exports.ProfitabilitySummaryResponseCostRange$inboundSchema = exports.ProfitabilitySummaryResponseRevenueRange$inboundSchema = void 0;
|
|
40
|
+
exports.profitabilitySummaryResponseRevenueRangeFromJSON = profitabilitySummaryResponseRevenueRangeFromJSON;
|
|
41
|
+
exports.profitabilitySummaryResponseCostRangeFromJSON = profitabilitySummaryResponseCostRangeFromJSON;
|
|
40
42
|
exports.profitabilitySummaryResponseFromJSON = profitabilitySummaryResponseFromJSON;
|
|
41
43
|
const z = __importStar(require("zod/v3"));
|
|
42
44
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
43
45
|
const profitabilityrow_js_1 = require("./profitabilityrow.js");
|
|
44
46
|
/** @internal */
|
|
47
|
+
exports.ProfitabilitySummaryResponseRevenueRange$inboundSchema = z.object({
|
|
48
|
+
from: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
49
|
+
to: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
50
|
+
});
|
|
51
|
+
function profitabilitySummaryResponseRevenueRangeFromJSON(jsonString) {
|
|
52
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ProfitabilitySummaryResponseRevenueRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfitabilitySummaryResponseRevenueRange' from JSON`);
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
exports.ProfitabilitySummaryResponseCostRange$inboundSchema = z.object({
|
|
56
|
+
from: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
57
|
+
to: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
58
|
+
});
|
|
59
|
+
function profitabilitySummaryResponseCostRangeFromJSON(jsonString) {
|
|
60
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ProfitabilitySummaryResponseCostRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfitabilitySummaryResponseCostRange' from JSON`);
|
|
61
|
+
}
|
|
62
|
+
/** @internal */
|
|
45
63
|
exports.ProfitabilitySummaryResponse$inboundSchema = z.object({
|
|
46
64
|
object: z.literal("profitability_summary"),
|
|
47
65
|
currency: z.string(),
|
|
48
66
|
rows: z.array(profitabilityrow_js_1.ProfitabilityRow$inboundSchema),
|
|
49
67
|
warnings: z.array(z.string()).optional(),
|
|
68
|
+
revenueRange: z.nullable(z.lazy(() => exports.ProfitabilitySummaryResponseRevenueRange$inboundSchema)).optional(),
|
|
69
|
+
costRange: z.nullable(z.lazy(() => exports.ProfitabilitySummaryResponseCostRange$inboundSchema)).optional(),
|
|
50
70
|
});
|
|
51
71
|
function profitabilitySummaryResponseFromJSON(jsonString) {
|
|
52
72
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ProfitabilitySummaryResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfitabilitySummaryResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profitabilitysummaryresponse.js","sourceRoot":"","sources":["../../../src/models/profitabilitysummaryresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"profitab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AE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CACtE,CAAC,CAAC;AAEH,SAAgB,6CAA6C,CAC3D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2DAAmD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,mEAAmE,CACpE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;IAC1C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,oDAA8B,CAAC;IAC7C,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,YAAY,EAAE,CAAC,CAAC,QAAQ,CACtB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8DAAsD,CAAC,CACrE,CAAC,QAAQ,EAAE;IACZ,SAAS,EAAE,CAAC,CAAC,QAAQ,CACnB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2DAAmD,CAAC,CAClE,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -6,6 +6,19 @@ import { GroupInvoiceSummary } from "./groupinvoicesummary.js";
|
|
|
6
6
|
import { InvoiceSummary } from "./invoicesummary.js";
|
|
7
7
|
import { PaymentSummary } from "./paymentsummary.js";
|
|
8
8
|
import { RevenueTrendBucket } from "./revenuetrendbucket.js";
|
|
9
|
+
/**
|
|
10
|
+
* Where the caller's revenue actually lies in time. Scoped by the same filters as the request (merchant, and where given customer, subscription and currency), so it is not an account-wide statement. Present only when the selected range returned nothing. An object carries the bounds of the real revenue; null means no revenue under these filters at any time; an absent field means the extent was not resolved, because the result was not empty or because the lookup failed. An absent field must never be read as an absence. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
|
|
11
|
+
*/
|
|
12
|
+
export type RevenueSummaryResponseRevenueRange = {
|
|
13
|
+
/**
|
|
14
|
+
* Earliest invoice issue instant.
|
|
15
|
+
*/
|
|
16
|
+
from: Date;
|
|
17
|
+
/**
|
|
18
|
+
* Latest invoice issue instant.
|
|
19
|
+
*/
|
|
20
|
+
to: Date;
|
|
21
|
+
};
|
|
9
22
|
export type RevenueSummaryResponse = {
|
|
10
23
|
/**
|
|
11
24
|
* Object type identifier
|
|
@@ -45,8 +58,15 @@ export type RevenueSummaryResponse = {
|
|
|
45
58
|
* Per-currency revenue aggregates (only present when groupBy=currency is specified). Primary currency appears first, then alphabetical by ISO code. When present, top-level netRevenue, invoices, payments, and trend fields are omitted.
|
|
46
59
|
*/
|
|
47
60
|
currencyBreakdown?: Array<CurrencyBreakdownEntry> | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Where the caller's revenue actually lies in time. Scoped by the same filters as the request (merchant, and where given customer, subscription and currency), so it is not an account-wide statement. Present only when the selected range returned nothing. An object carries the bounds of the real revenue; null means no revenue under these filters at any time; an absent field means the extent was not resolved, because the result was not empty or because the lookup failed. An absent field must never be read as an absence. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
|
|
63
|
+
*/
|
|
64
|
+
revenueRange?: RevenueSummaryResponseRevenueRange | null | undefined;
|
|
48
65
|
};
|
|
49
66
|
/** @internal */
|
|
67
|
+
export declare const RevenueSummaryResponseRevenueRange$inboundSchema: z.ZodType<RevenueSummaryResponseRevenueRange, z.ZodTypeDef, unknown>;
|
|
68
|
+
export declare function revenueSummaryResponseRevenueRangeFromJSON(jsonString: string): SafeParseResult<RevenueSummaryResponseRevenueRange, SDKValidationError>;
|
|
69
|
+
/** @internal */
|
|
50
70
|
export declare const RevenueSummaryResponse$inboundSchema: z.ZodType<RevenueSummaryResponse, z.ZodTypeDef, unknown>;
|
|
51
71
|
export declare function revenueSummaryResponseFromJSON(jsonString: string): SafeParseResult<RevenueSummaryResponse, SDKValidationError>;
|
|
52
72
|
//# sourceMappingURL=revenuesummaryresponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenuesummaryresponse.d.ts","sourceRoot":"","sources":["../../../src/models/revenuesummaryresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GA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;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACxD;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IAC9D;;OAEG;IACH,YAAY,CAAC,EAAE,kCAAkC,GAAG,IAAI,GAAG,SAAS,CAAC;CACtE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -36,7 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.RevenueSummaryResponse$inboundSchema = void 0;
|
|
39
|
+
exports.RevenueSummaryResponse$inboundSchema = exports.RevenueSummaryResponseRevenueRange$inboundSchema = void 0;
|
|
40
|
+
exports.revenueSummaryResponseRevenueRangeFromJSON = revenueSummaryResponseRevenueRangeFromJSON;
|
|
40
41
|
exports.revenueSummaryResponseFromJSON = revenueSummaryResponseFromJSON;
|
|
41
42
|
const z = __importStar(require("zod/v3"));
|
|
42
43
|
const schemas_js_1 = require("../lib/schemas.js");
|
|
@@ -46,6 +47,14 @@ const invoicesummary_js_1 = require("./invoicesummary.js");
|
|
|
46
47
|
const paymentsummary_js_1 = require("./paymentsummary.js");
|
|
47
48
|
const revenuetrendbucket_js_1 = require("./revenuetrendbucket.js");
|
|
48
49
|
/** @internal */
|
|
50
|
+
exports.RevenueSummaryResponseRevenueRange$inboundSchema = z.object({
|
|
51
|
+
from: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
52
|
+
to: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
53
|
+
});
|
|
54
|
+
function revenueSummaryResponseRevenueRangeFromJSON(jsonString) {
|
|
55
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RevenueSummaryResponseRevenueRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RevenueSummaryResponseRevenueRange' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
49
58
|
exports.RevenueSummaryResponse$inboundSchema = z.object({
|
|
50
59
|
object: z.literal("revenue_summary"),
|
|
51
60
|
netRevenue: z.string().optional(),
|
|
@@ -58,6 +67,7 @@ exports.RevenueSummaryResponse$inboundSchema = z.object({
|
|
|
58
67
|
trend: z.array(revenuetrendbucket_js_1.RevenueTrendBucket$inboundSchema).optional(),
|
|
59
68
|
groupBreakdown: z.array(groupinvoicesummary_js_1.GroupInvoiceSummary$inboundSchema).optional(),
|
|
60
69
|
currencyBreakdown: z.array(currencybreakdownentry_js_1.CurrencyBreakdownEntry$inboundSchema).optional(),
|
|
70
|
+
revenueRange: z.nullable(z.lazy(() => exports.RevenueSummaryResponseRevenueRange$inboundSchema)).optional(),
|
|
61
71
|
});
|
|
62
72
|
function revenueSummaryResponseFromJSON(jsonString) {
|
|
63
73
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RevenueSummaryResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RevenueSummaryResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revenuesummaryresponse.js","sourceRoot":"","sources":["../../../src/models/revenuesummaryresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"revenuesummaryresponse.js","sourceRoot":"","sources":["../../../src/models/revenuesummaryresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGH,gGASC;AAwBD,wEAQC;AAvID,0CAA4B;AAC5B,kDAA8C;AAE9C,2EAGqC;AAErC,qEAGkC;AAClC,2DAG6B;AAC7B,2DAG6B;AAC7B,mEAGiC;AA6DjC,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IACvE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CACtE,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDA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,7 @@ async function $do(client, request, options) {
|
|
|
69
69
|
const req = requestRes.value;
|
|
70
70
|
const doResult = await client._do(req, {
|
|
71
71
|
context,
|
|
72
|
-
errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"],
|
|
72
|
+
errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "503", "5XX"],
|
|
73
73
|
retryConfig: context.retryConfig,
|
|
74
74
|
retryCodes: context.retryCodes,
|
|
75
75
|
});
|
|
@@ -80,7 +80,7 @@ async function $do(client, request, options) {
|
|
|
80
80
|
const responseFields = {
|
|
81
81
|
HttpMeta: { Response: response, Request: req },
|
|
82
82
|
};
|
|
83
|
-
const [result] = await M.match(M.json([200, 201], models.SubscriptionReconciliation$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
83
|
+
const [result] = await M.match(M.json([200, 201], models.SubscriptionReconciliation$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403, 404, 429], errors.ErrorT$inboundSchema), M.jsonErr([500, 503], errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
84
84
|
if (!result.ok) {
|
|
85
85
|
return [result, { status: "complete", request: req, response }];
|
|
86
86
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptionsReconcileSubscriptionFeatures.js","sourceRoot":"","sources":["../../../src/funcs/subscriptionsReconcileSubscriptionFeatures.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAA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M,CAAC,QAAQ,CAAC,SAAS,IAAI,CAAC,CAAC;KACjE,EAAE,OAAO,CAAC,CAAC;IACZ,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"subscriptionsReconcileSubscriptionFeatures.js","sourceRoot":"","sources":["../../../src/funcs/subscriptionsReconcileSubscriptionFeatures.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAIpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,0CAA0C,CACxD,MAAqB,EACrB,OAAwD,EACxD,OAAwB;IAgBxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACv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E,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.1.0";
|
|
34
|
-
readonly sdkVersion: "0.9.
|
|
34
|
+
readonly sdkVersion: "0.9.11";
|
|
35
35
|
readonly genVersion: "2.879.13";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.9.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.11 2.879.13 0.1.0 @paygentic/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.1.0",
|
|
34
|
-
sdkVersion: "0.9.
|
|
34
|
+
sdkVersion: "0.9.11",
|
|
35
35
|
genVersion: "2.879.13",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.9.11 2.879.13 0.1.0 @paygentic/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB;;OAEG;IACH,0BAA0B;IAC1B;;OAEG;IACH,kCAAkC;CAC1B,CAAC;AA0BX,MAAM,UAAU,oBAAoB,CAAC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AC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,UAAU;IACtB,SAAS,EAAE,+DAA+D;CAClE,CAAC"}
|
|
@@ -17,6 +17,19 @@ export type Pagination = {
|
|
|
17
17
|
limit: number;
|
|
18
18
|
offset: number;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Where the caller's cost data actually lies in time. Present only when the selected range returned no cost. An object carries the bounds of the real cost events; null means the caller has no cost event at any time; an absent field means the extent was not resolved, because the result was not empty, because the lookup failed, or because the metering service does not serve the bounds method. An absent field must never be read as an absence.
|
|
22
|
+
*/
|
|
23
|
+
export type CostReportResponseCostRange = {
|
|
24
|
+
/**
|
|
25
|
+
* Earliest cost event instant.
|
|
26
|
+
*/
|
|
27
|
+
from: Date;
|
|
28
|
+
/**
|
|
29
|
+
* Latest cost event instant.
|
|
30
|
+
*/
|
|
31
|
+
to: Date;
|
|
32
|
+
};
|
|
20
33
|
export type CostReportResponse = {
|
|
21
34
|
object: CostReportResponseObject;
|
|
22
35
|
/**
|
|
@@ -53,6 +66,10 @@ export type CostReportResponse = {
|
|
|
53
66
|
*/
|
|
54
67
|
warnings?: Array<string> | undefined;
|
|
55
68
|
pagination: Pagination;
|
|
69
|
+
/**
|
|
70
|
+
* Where the caller's cost data actually lies in time. Present only when the selected range returned no cost. An object carries the bounds of the real cost events; null means the caller has no cost event at any time; an absent field means the extent was not resolved, because the result was not empty, because the lookup failed, or because the metering service does not serve the bounds method. An absent field must never be read as an absence.
|
|
71
|
+
*/
|
|
72
|
+
costRange?: CostReportResponseCostRange | null | undefined;
|
|
56
73
|
};
|
|
57
74
|
/** @internal */
|
|
58
75
|
export declare const CostReportResponseObject$inboundSchema: z.ZodNativeEnum<typeof CostReportResponseObject>;
|
|
@@ -63,6 +80,9 @@ export declare function periodFromJSON(jsonString: string): SafeParseResult<Peri
|
|
|
63
80
|
export declare const Pagination$inboundSchema: z.ZodType<Pagination, z.ZodTypeDef, unknown>;
|
|
64
81
|
export declare function paginationFromJSON(jsonString: string): SafeParseResult<Pagination, SDKValidationError>;
|
|
65
82
|
/** @internal */
|
|
83
|
+
export declare const CostReportResponseCostRange$inboundSchema: z.ZodType<CostReportResponseCostRange, z.ZodTypeDef, unknown>;
|
|
84
|
+
export declare function costReportResponseCostRangeFromJSON(jsonString: string): SafeParseResult<CostReportResponseCostRange, SDKValidationError>;
|
|
85
|
+
/** @internal */
|
|
66
86
|
export declare const CostReportResponse$inboundSchema: z.ZodType<CostReportResponse, z.ZodTypeDef, unknown>;
|
|
67
87
|
export declare function costReportResponseFromJSON(jsonString: string): SafeParseResult<CostReportResponse, SDKValidationError>;
|
|
68
88
|
//# sourceMappingURL=costreportresponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"costreportresponse.d.ts","sourceRoot":"","sources":["../../../src/models/costreportresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,IAAI,EAAE,IAAI,CAAC;IACX,EAAE,EAAE,IAAI,CAAC;CACV,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,wBAAwB,CAAC;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACxC;;OAEG;IACH,mBAAmB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,UAAU,EAAE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"costreportresponse.d.ts","sourceRoot":"","sources":["../../../src/models/costreportresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACn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