@paygentic/sdk 0.10.1 → 0.10.3

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 (139) hide show
  1. package/dist/commonjs/funcs/billableMetricsCreate.js +2 -2
  2. package/dist/commonjs/funcs/billableMetricsCreate.js.map +1 -1
  3. package/dist/commonjs/funcs/billableMetricsListEvents.js +2 -2
  4. package/dist/commonjs/funcs/billableMetricsListEvents.js.map +1 -1
  5. package/dist/commonjs/funcs/billableMetricsMeter.js +2 -2
  6. package/dist/commonjs/funcs/billableMetricsMeter.js.map +1 -1
  7. package/dist/commonjs/funcs/costsCreateCost.js +2 -2
  8. package/dist/commonjs/funcs/costsCreateCost.js.map +1 -1
  9. package/dist/commonjs/funcs/entitlementsList.js +2 -2
  10. package/dist/commonjs/funcs/entitlementsList.js.map +1 -1
  11. package/dist/commonjs/funcs/eventsIngest.js +2 -2
  12. package/dist/commonjs/funcs/eventsIngest.js.map +1 -1
  13. package/dist/commonjs/funcs/feesCreate.js +2 -2
  14. package/dist/commonjs/funcs/feesCreate.js.map +1 -1
  15. package/dist/commonjs/funcs/invoicesV2RecordInvoicePayment.d.ts +1 -1
  16. package/dist/commonjs/funcs/invoicesV2RecordInvoicePayment.js +1 -1
  17. package/dist/commonjs/funcs/invoicesV2RetryInvoicePayment.d.ts +1 -1
  18. package/dist/commonjs/funcs/invoicesV2RetryInvoicePayment.js +1 -1
  19. package/dist/commonjs/funcs/merchantIntegrationsUpsertMerchantIntegration.js +2 -2
  20. package/dist/commonjs/funcs/merchantIntegrationsUpsertMerchantIntegration.js.map +1 -1
  21. package/dist/commonjs/funcs/merchantsReset.js +2 -2
  22. package/dist/commonjs/funcs/merchantsReset.js.map +1 -1
  23. package/dist/commonjs/funcs/paymentsCreate.js +2 -2
  24. package/dist/commonjs/funcs/paymentsCreate.js.map +1 -1
  25. package/dist/commonjs/funcs/plansCreate.js +2 -2
  26. package/dist/commonjs/funcs/plansCreate.js.map +1 -1
  27. package/dist/commonjs/funcs/productsCreate.js +2 -2
  28. package/dist/commonjs/funcs/productsCreate.js.map +1 -1
  29. package/dist/commonjs/funcs/testClocksCreate.js +2 -2
  30. package/dist/commonjs/funcs/testClocksCreate.js.map +1 -1
  31. package/dist/commonjs/funcs/webhooksEnable.js +2 -2
  32. package/dist/commonjs/funcs/webhooksEnable.js.map +1 -1
  33. package/dist/commonjs/funcs/webhooksGetPortal.d.ts +1 -1
  34. package/dist/commonjs/funcs/webhooksGetPortal.js +1 -1
  35. package/dist/commonjs/lib/config.d.ts +2 -2
  36. package/dist/commonjs/lib/config.js +2 -2
  37. package/dist/commonjs/models/costreportresponse.d.ts +14 -2
  38. package/dist/commonjs/models/costreportresponse.d.ts.map +1 -1
  39. package/dist/commonjs/models/costreportresponse.js.map +1 -1
  40. package/dist/commonjs/models/operations/getcostreport.d.ts +2 -2
  41. package/dist/commonjs/models/operations/getcostsummary.d.ts +2 -2
  42. package/dist/commonjs/models/operations/getprofitability.d.ts +2 -2
  43. package/dist/commonjs/models/operations/getrevenue.d.ts +2 -2
  44. package/dist/commonjs/models/operations/ingestevent.d.ts +4 -4
  45. package/dist/commonjs/models/operations/listentitlements.d.ts +16 -0
  46. package/dist/commonjs/models/operations/listentitlements.d.ts.map +1 -1
  47. package/dist/commonjs/models/operations/listentitlements.js +11 -1
  48. package/dist/commonjs/models/operations/listentitlements.js.map +1 -1
  49. package/dist/commonjs/models/profitabilitysummaryresponse.d.ts +4 -4
  50. package/dist/commonjs/models/revenuesummaryresponse.d.ts +2 -2
  51. package/dist/commonjs/sdk/invoicesv2.d.ts +2 -2
  52. package/dist/commonjs/sdk/invoicesv2.js +2 -2
  53. package/dist/commonjs/sdk/webhooks.d.ts +1 -1
  54. package/dist/commonjs/sdk/webhooks.js +1 -1
  55. package/dist/esm/funcs/billableMetricsCreate.js +2 -2
  56. package/dist/esm/funcs/billableMetricsCreate.js.map +1 -1
  57. package/dist/esm/funcs/billableMetricsListEvents.js +2 -2
  58. package/dist/esm/funcs/billableMetricsListEvents.js.map +1 -1
  59. package/dist/esm/funcs/billableMetricsMeter.js +2 -2
  60. package/dist/esm/funcs/billableMetricsMeter.js.map +1 -1
  61. package/dist/esm/funcs/costsCreateCost.js +2 -2
  62. package/dist/esm/funcs/costsCreateCost.js.map +1 -1
  63. package/dist/esm/funcs/entitlementsList.js +2 -2
  64. package/dist/esm/funcs/entitlementsList.js.map +1 -1
  65. package/dist/esm/funcs/eventsIngest.js +2 -2
  66. package/dist/esm/funcs/eventsIngest.js.map +1 -1
  67. package/dist/esm/funcs/feesCreate.js +2 -2
  68. package/dist/esm/funcs/feesCreate.js.map +1 -1
  69. package/dist/esm/funcs/invoicesV2RecordInvoicePayment.d.ts +1 -1
  70. package/dist/esm/funcs/invoicesV2RecordInvoicePayment.js +1 -1
  71. package/dist/esm/funcs/invoicesV2RetryInvoicePayment.d.ts +1 -1
  72. package/dist/esm/funcs/invoicesV2RetryInvoicePayment.js +1 -1
  73. package/dist/esm/funcs/merchantIntegrationsUpsertMerchantIntegration.js +2 -2
  74. package/dist/esm/funcs/merchantIntegrationsUpsertMerchantIntegration.js.map +1 -1
  75. package/dist/esm/funcs/merchantsReset.js +2 -2
  76. package/dist/esm/funcs/merchantsReset.js.map +1 -1
  77. package/dist/esm/funcs/paymentsCreate.js +2 -2
  78. package/dist/esm/funcs/paymentsCreate.js.map +1 -1
  79. package/dist/esm/funcs/plansCreate.js +2 -2
  80. package/dist/esm/funcs/plansCreate.js.map +1 -1
  81. package/dist/esm/funcs/productsCreate.js +2 -2
  82. package/dist/esm/funcs/productsCreate.js.map +1 -1
  83. package/dist/esm/funcs/testClocksCreate.js +2 -2
  84. package/dist/esm/funcs/testClocksCreate.js.map +1 -1
  85. package/dist/esm/funcs/webhooksEnable.js +2 -2
  86. package/dist/esm/funcs/webhooksEnable.js.map +1 -1
  87. package/dist/esm/funcs/webhooksGetPortal.d.ts +1 -1
  88. package/dist/esm/funcs/webhooksGetPortal.js +1 -1
  89. package/dist/esm/lib/config.d.ts +2 -2
  90. package/dist/esm/lib/config.js +2 -2
  91. package/dist/esm/models/costreportresponse.d.ts +14 -2
  92. package/dist/esm/models/costreportresponse.d.ts.map +1 -1
  93. package/dist/esm/models/costreportresponse.js.map +1 -1
  94. package/dist/esm/models/operations/getcostreport.d.ts +2 -2
  95. package/dist/esm/models/operations/getcostsummary.d.ts +2 -2
  96. package/dist/esm/models/operations/getprofitability.d.ts +2 -2
  97. package/dist/esm/models/operations/getrevenue.d.ts +2 -2
  98. package/dist/esm/models/operations/ingestevent.d.ts +4 -4
  99. package/dist/esm/models/operations/listentitlements.d.ts +16 -0
  100. package/dist/esm/models/operations/listentitlements.d.ts.map +1 -1
  101. package/dist/esm/models/operations/listentitlements.js +9 -0
  102. package/dist/esm/models/operations/listentitlements.js.map +1 -1
  103. package/dist/esm/models/profitabilitysummaryresponse.d.ts +4 -4
  104. package/dist/esm/models/revenuesummaryresponse.d.ts +2 -2
  105. package/dist/esm/sdk/invoicesv2.d.ts +2 -2
  106. package/dist/esm/sdk/invoicesv2.js +2 -2
  107. package/dist/esm/sdk/webhooks.d.ts +1 -1
  108. package/dist/esm/sdk/webhooks.js +1 -1
  109. package/jsr.json +1 -1
  110. package/package.json +1 -1
  111. package/src/funcs/billableMetricsCreate.ts +2 -2
  112. package/src/funcs/billableMetricsListEvents.ts +2 -2
  113. package/src/funcs/billableMetricsMeter.ts +2 -2
  114. package/src/funcs/costsCreateCost.ts +2 -2
  115. package/src/funcs/entitlementsList.ts +2 -2
  116. package/src/funcs/eventsIngest.ts +2 -2
  117. package/src/funcs/feesCreate.ts +2 -2
  118. package/src/funcs/invoicesV2RecordInvoicePayment.ts +1 -1
  119. package/src/funcs/invoicesV2RetryInvoicePayment.ts +1 -1
  120. package/src/funcs/merchantIntegrationsUpsertMerchantIntegration.ts +2 -2
  121. package/src/funcs/merchantsReset.ts +2 -2
  122. package/src/funcs/paymentsCreate.ts +2 -2
  123. package/src/funcs/plansCreate.ts +2 -2
  124. package/src/funcs/productsCreate.ts +2 -2
  125. package/src/funcs/testClocksCreate.ts +2 -2
  126. package/src/funcs/webhooksEnable.ts +2 -2
  127. package/src/funcs/webhooksGetPortal.ts +1 -1
  128. package/src/lib/config.ts +2 -2
  129. package/src/models/costreportresponse.ts +14 -2
  130. package/src/models/operations/getcostreport.ts +2 -2
  131. package/src/models/operations/getcostsummary.ts +2 -2
  132. package/src/models/operations/getprofitability.ts +2 -2
  133. package/src/models/operations/getrevenue.ts +2 -2
  134. package/src/models/operations/ingestevent.ts +4 -4
  135. package/src/models/operations/listentitlements.ts +33 -0
  136. package/src/models/profitabilitysummaryresponse.ts +4 -4
  137. package/src/models/revenuesummaryresponse.ts +2 -2
  138. package/src/sdk/invoicesv2.ts +2 -2
  139. package/src/sdk/webhooks.ts +1 -1
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
13
13
  * Get Portal Access
14
14
  *
15
15
  * @remarks
16
- * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. Returns 404 unless webhooks are enabled.
16
+ * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. The link is read-only unless the caller holds `webhooks:write`: a read-only portal shows endpoints and deliveries but does not let you add or change endpoints, read the signing secret or replay messages. Returns 404 unless webhooks are enabled.
17
17
  */
18
18
  export declare function webhooksGetPortal(client: PaygenticCore, request?: operations.GetWebhookPortalRequest | undefined, options?: RequestOptions): APIPromise<Result<models.WebhookPortal, errors.ErrorT | PaygenticError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
19
19
  //# sourceMappingURL=webhooksGetPortal.d.ts.map
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
51
51
  * Get Portal Access
52
52
  *
53
53
  * @remarks
54
- * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. Returns 404 unless webhooks are enabled.
54
+ * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. The link is read-only unless the caller holds `webhooks:write`: a read-only portal shows endpoints and deliveries but does not let you add or change endpoints, read the signing secret or replay messages. Returns 404 unless webhooks are enabled.
55
55
  */
56
56
  function webhooksGetPortal(client, request, options) {
57
57
  return new async_js_1.APIPromise($do(client, request, options));
@@ -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.10.1";
34
+ readonly sdkVersion: "0.10.3";
35
35
  readonly genVersion: "2.879.13";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.10.1 2.879.13 0.1.0 @paygentic/sdk";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.10.3 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.10.1",
38
+ sdkVersion: "0.10.3",
39
39
  genVersion: "2.879.13",
40
- userAgent: "speakeasy-sdk/typescript 0.10.1 2.879.13 0.1.0 @paygentic/sdk",
40
+ userAgent: "speakeasy-sdk/typescript 0.10.3 2.879.13 0.1.0 @paygentic/sdk",
41
41
  };
42
42
  //# sourceMappingURL=config.js.map
@@ -8,8 +8,17 @@ export declare const CostReportResponseObject: {
8
8
  readonly CostReport: "cost_report";
9
9
  };
10
10
  export type CostReportResponseObject = ClosedEnum<typeof CostReportResponseObject>;
11
+ /**
12
+ * The read window, as requested: the report counts from <= t < to. Unlike `costRange`, `to` is not an instant the report covers, so a chart axis ends before it.
13
+ */
11
14
  export type Period = {
15
+ /**
16
+ * Start of the read window, included.
17
+ */
12
18
  from: Date;
19
+ /**
20
+ * End of the read window, excluded.
21
+ */
13
22
  to: Date;
14
23
  };
15
24
  export type Pagination = {
@@ -18,7 +27,7 @@ export type Pagination = {
18
27
  offset: number;
19
28
  };
20
29
  /**
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.
30
+ * 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. The bounds are instants that exist and both are included, so a window that holds `to` ends after it.
22
31
  */
23
32
  export type CostReportResponseCostRange = {
24
33
  /**
@@ -36,6 +45,9 @@ export type CostReportResponse = {
36
45
  * ISO 4217 currency code for all monetary values in this response.
37
46
  */
38
47
  currency: string;
48
+ /**
49
+ * The read window, as requested: the report counts from <= t < to. Unlike `costRange`, `to` is not an instant the report covers, so a chart axis ends before it.
50
+ */
39
51
  period: Period;
40
52
  /**
41
53
  * The active grouping dimension (e.g. 'cost', 'customer', or a dynamic dimension key).
@@ -75,7 +87,7 @@ export type CostReportResponse = {
75
87
  */
76
88
  emptyGroupCount?: number | null | undefined;
77
89
  /**
78
- * 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.
90
+ * 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. The bounds are instants that exist and both are included, so a window that holds `to` ends after it.
79
91
  */
80
92
  costRange?: CostReportResponseCostRange | null | undefined;
81
93
  };
@@ -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;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,EAAE,EAAE,IAAI,CAAC;CACV,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;;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AAgB,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,CAiBP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
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;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,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;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,EAAE,EAAE,IAAI,CAAC;CACV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,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -40,11 +40,11 @@ export type GetCostReportRequest = {
40
40
  */
41
41
  merchantId?: string | undefined;
42
42
  /**
43
- * Start of the query window (ISO 8601).
43
+ * Start of the query window, included (ISO 8601).
44
44
  */
45
45
  from: Date;
46
46
  /**
47
- * End of the query window (ISO 8601).
47
+ * End of the query window, excluded: the read counts from <= t < to (ISO 8601).
48
48
  */
49
49
  to: Date;
50
50
  /**
@@ -22,11 +22,11 @@ export type GetCostSummaryRequest = {
22
22
  */
23
23
  subject?: string | undefined;
24
24
  /**
25
- * Start of the query window (ISO 8601). Required together with 'to'.
25
+ * Start of the query window, included (ISO 8601). Required together with 'to'.
26
26
  */
27
27
  from: Date;
28
28
  /**
29
- * End of the query window (ISO 8601). Required together with 'from'.
29
+ * End of the query window, excluded: the read counts from <= t < to (ISO 8601). Required together with 'from'.
30
30
  */
31
31
  to: Date;
32
32
  /**
@@ -5,11 +5,11 @@ export type GetProfitabilityRequest = {
5
5
  */
6
6
  merchantId: string;
7
7
  /**
8
- * Start of the time range (ISO 8601 format)
8
+ * Start of the read window, included (ISO 8601 format)
9
9
  */
10
10
  from: Date;
11
11
  /**
12
- * End of the time range (ISO 8601 format)
12
+ * End of the read window, excluded: the read counts from <= t < to, so a month ends at the first instant of the next month (ISO 8601 format)
13
13
  */
14
14
  to: Date;
15
15
  /**
@@ -37,11 +37,11 @@ export declare const PeriodBasis: {
37
37
  export type PeriodBasis = ClosedEnum<typeof PeriodBasis>;
38
38
  export type GetRevenueRequest = {
39
39
  /**
40
- * Start of the time range (ISO 8601 format)
40
+ * Start of the read window, included (ISO 8601 format)
41
41
  */
42
42
  startTime: Date;
43
43
  /**
44
- * End of the time range (ISO 8601 format)
44
+ * End of the read window, excluded: the read counts startTime <= t < endTime, so a month ends at the first instant of the next month (ISO 8601 format)
45
45
  */
46
46
  endTime: Date;
47
47
  /**
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  export type IngestEventRequestBody2 = {
3
3
  /**
4
- * CloudEvents type. Must match an eventType configured on a BillableMetric.
4
+ * CloudEvents type. Must match an eventType configured on a BillableMetric. Must not contain control characters.
5
5
  */
6
6
  type: string;
7
7
  /**
@@ -13,7 +13,7 @@ export type IngestEventRequestBody2 = {
13
13
  */
14
14
  subject?: string | undefined;
15
15
  /**
16
- * Your own customer identifier, matched against the customer's externalId. Fallback for when the Paygentic customer ID is not known — prefer subject when it is. Events reported before the customer exists are linked retroactively once a customer with this externalId is created. Resolution is eventually consistent: after an externalId is removed or reassigned, events may resolve to the previous customer for up to one hour. If subject is also provided, subject takes precedence and externalSubject is recorded but not used for resolution.
16
+ * Your own customer identifier, matched against the customer's externalId. Fallback for when the Paygentic customer ID is not known — prefer subject when it is. Events reported before the customer exists are linked retroactively once a customer with this externalId is created. Resolution is eventually consistent: after an externalId is removed or reassigned, or its customer is deleted, events may resolve to the previous customer for up to one hour, and for up to 48 hours if Paygentic's database is unavailable. If subject is also provided, subject takes precedence and externalSubject is recorded but not used for resolution.
17
17
  */
18
18
  externalSubject: string;
19
19
  /**
@@ -41,7 +41,7 @@ export type IngestEventRequestBody2 = {
41
41
  };
42
42
  export type IngestEventRequestBody1 = {
43
43
  /**
44
- * CloudEvents type. Must match an eventType configured on a BillableMetric.
44
+ * CloudEvents type. Must match an eventType configured on a BillableMetric. Must not contain control characters.
45
45
  */
46
46
  type: string;
47
47
  /**
@@ -53,7 +53,7 @@ export type IngestEventRequestBody1 = {
53
53
  */
54
54
  subject: string;
55
55
  /**
56
- * Your own customer identifier, matched against the customer's externalId. Fallback for when the Paygentic customer ID is not known — prefer subject when it is. Events reported before the customer exists are linked retroactively once a customer with this externalId is created. Resolution is eventually consistent: after an externalId is removed or reassigned, events may resolve to the previous customer for up to one hour. If subject is also provided, subject takes precedence and externalSubject is recorded but not used for resolution.
56
+ * Your own customer identifier, matched against the customer's externalId. Fallback for when the Paygentic customer ID is not known — prefer subject when it is. Events reported before the customer exists are linked retroactively once a customer with this externalId is created. Resolution is eventually consistent: after an externalId is removed or reassigned, or its customer is deleted, events may resolve to the previous customer for up to one hour, and for up to 48 hours if Paygentic's database is unavailable. If subject is also provided, subject takes precedence and externalSubject is recorded but not used for resolution.
57
57
  */
58
58
  externalSubject?: string | undefined;
59
59
  /**
@@ -45,6 +45,15 @@ export declare const ListEntitlementsObject: {
45
45
  readonly List: "list";
46
46
  };
47
47
  export type ListEntitlementsObject = ClosedEnum<typeof ListEntitlementsObject>;
48
+ /**
49
+ * Present only when the database can't be reached, or the list takes more than a second to compute. The response is then the last result for this same request in the past hour, computed at `computedAt`.
50
+ */
51
+ export type Stale = {
52
+ /**
53
+ * When this result was computed.
54
+ */
55
+ computedAt: Date;
56
+ };
48
57
  /**
49
58
  * Successfully retrieved the list of entitlements for the customer.
50
59
  */
@@ -58,6 +67,10 @@ export type ListEntitlementsResponse = {
58
67
  * Offset-based pagination response.
59
68
  */
60
69
  pagination: models.OffsetPagination;
70
+ /**
71
+ * Present only when the database can't be reached, or the list takes more than a second to compute. The response is then the last result for this same request in the past hour, computed at `computedAt`.
72
+ */
73
+ stale?: Stale | undefined;
61
74
  };
62
75
  /** @internal */
63
76
  export type ListEntitlementsRequest$Outbound = {
@@ -77,6 +90,9 @@ export declare function listEntitlementsRequestToJSON(listEntitlementsRequest: L
77
90
  /** @internal */
78
91
  export declare const ListEntitlementsObject$inboundSchema: z.ZodNativeEnum<typeof ListEntitlementsObject>;
79
92
  /** @internal */
93
+ export declare const Stale$inboundSchema: z.ZodType<Stale, z.ZodTypeDef, unknown>;
94
+ export declare function staleFromJSON(jsonString: string): SafeParseResult<Stale, SDKValidationError>;
95
+ /** @internal */
80
96
  export declare const ListEntitlementsResponse$inboundSchema: z.ZodType<ListEntitlementsResponse, z.ZodTypeDef, unknown>;
81
97
  export declare function listEntitlementsResponseFromJSON(jsonString: string): SafeParseResult<ListEntitlementsResponse, SDKValidationError>;
82
98
  //# sourceMappingURL=listentitlements.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listentitlements.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listentitlements.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAEzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,EAAE,sBAAsB,CAAC;IAC/B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,gBAAgB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAWvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,sBAAsB,CACS,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
1
+ {"version":3,"file":"listentitlements.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listentitlements.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB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
@@ -36,8 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ListEntitlementsResponse$inboundSchema = exports.ListEntitlementsObject$inboundSchema = exports.ListEntitlementsRequest$outboundSchema = exports.ListEntitlementsObject = void 0;
39
+ exports.ListEntitlementsResponse$inboundSchema = exports.Stale$inboundSchema = exports.ListEntitlementsObject$inboundSchema = exports.ListEntitlementsRequest$outboundSchema = exports.ListEntitlementsObject = void 0;
40
40
  exports.listEntitlementsRequestToJSON = listEntitlementsRequestToJSON;
41
+ exports.staleFromJSON = staleFromJSON;
41
42
  exports.listEntitlementsResponseFromJSON = listEntitlementsResponseFromJSON;
42
43
  const z = __importStar(require("zod/v3"));
43
44
  const schemas_js_1 = require("../../lib/schemas.js");
@@ -63,10 +64,19 @@ function listEntitlementsRequestToJSON(listEntitlementsRequest) {
63
64
  /** @internal */
64
65
  exports.ListEntitlementsObject$inboundSchema = z.nativeEnum(exports.ListEntitlementsObject);
65
66
  /** @internal */
67
+ exports.Stale$inboundSchema = z
68
+ .object({
69
+ computedAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
70
+ });
71
+ function staleFromJSON(jsonString) {
72
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Stale$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Stale' from JSON`);
73
+ }
74
+ /** @internal */
66
75
  exports.ListEntitlementsResponse$inboundSchema = z.object({
67
76
  object: exports.ListEntitlementsObject$inboundSchema.default("list"),
68
77
  data: z.array(models.EntitlementListItem$inboundSchema),
69
78
  pagination: models.OffsetPagination$inboundSchema,
79
+ stale: z.lazy(() => exports.Stale$inboundSchema).optional(),
70
80
  });
71
81
  function listEntitlementsResponseFromJSON(jsonString) {
72
82
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListEntitlementsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListEntitlementsResponse' from JSON`);
@@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AAE,MAAM,CAAC,8BAA8B;IACjD,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../types/fp.js";
3
3
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
4
4
  import { ProfitabilityRow } from "./profitabilityrow.js";
5
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.
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 are instants that exist and both are included, so a window that holds `to` ends after it. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
7
7
  */
8
8
  export type ProfitabilitySummaryResponseRevenueRange = {
9
9
  /**
@@ -16,7 +16,7 @@ export type ProfitabilitySummaryResponseRevenueRange = {
16
16
  to: Date;
17
17
  };
18
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.
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. The bounds are instants that exist and both are included, so a window that holds `to` ends after it.
20
20
  */
21
21
  export type ProfitabilitySummaryResponseCostRange = {
22
22
  /**
@@ -62,11 +62,11 @@ export type ProfitabilitySummaryResponse = {
62
62
  */
63
63
  warnings?: Array<string> | undefined;
64
64
  /**
65
- * 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.
65
+ * 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 are instants that exist and both are included, so a window that holds `to` ends after it. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
66
66
  */
67
67
  revenueRange?: ProfitabilitySummaryResponseRevenueRange | null | undefined;
68
68
  /**
69
- * 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.
69
+ * 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. The bounds are instants that exist and both are included, so a window that holds `to` ends after it.
70
70
  */
71
71
  costRange?: ProfitabilitySummaryResponseCostRange | null | undefined;
72
72
  };
@@ -7,7 +7,7 @@ import { InvoiceSummary } from "./invoicesummary.js";
7
7
  import { PaymentSummary } from "./paymentsummary.js";
8
8
  import { RevenueTrendBucket } from "./revenuetrendbucket.js";
9
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.
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 are instants that exist and both are included, so a window that holds `to` ends after it. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
11
11
  */
12
12
  export type RevenueSummaryResponseRevenueRange = {
13
13
  /**
@@ -63,7 +63,7 @@ export type RevenueSummaryResponse = {
63
63
  */
64
64
  currencyBreakdown?: Array<CurrencyBreakdownEntry> | undefined;
65
65
  /**
66
- * 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.
66
+ * 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 are instants that exist and both are included, so a window that holds `to` ends after it. The bounds may span more than this endpoint's maximum queryable range, so clamp before re-querying.
67
67
  */
68
68
  revenueRange?: RevenueSummaryResponseRevenueRange | null | undefined;
69
69
  };
@@ -60,7 +60,7 @@ export declare class InvoicesV2 extends ClientSDK {
60
60
  * - `hosted_link`: create a new hosted payment link and email it to the customer. The invoice stays unpaid until the customer pays on the link. Each call replaces the previous link. A payment link expires after 30 days; to collect an invoice whose link has expired, call this method again.
61
61
  * - `out_of_band`: record a payment that you collected outside Paygentic. The invoice changes to `PAID` immediately. A second call returns 409.
62
62
  *
63
- * For `hosted_link`, an invoice that does not exist returns 403, the same as an invoice of another merchant.
63
+ * For `hosted_link`, an invoice that does not exist returns 404, the same as an invoice of another merchant.
64
64
  *
65
65
  * Paygentic selects the payment provider from your connected payment account. The response reports the provider.
66
66
  *
@@ -111,7 +111,7 @@ export declare class InvoicesV2 extends ClientSDK {
111
111
  *
112
112
  * A 500 response has the standard error body, not `retry_payment_result`. It is an internal error, and a retry does not fix it.
113
113
  *
114
- * An invoice that does not exist returns 403, the same as an invoice of another merchant.
114
+ * An invoice that does not exist returns 404, the same as an invoice of another merchant.
115
115
  *
116
116
  * This operation is rate limited to one call each minute for each invoice.
117
117
  */
@@ -91,7 +91,7 @@ class InvoicesV2 extends sdks_js_1.ClientSDK {
91
91
  * - `hosted_link`: create a new hosted payment link and email it to the customer. The invoice stays unpaid until the customer pays on the link. Each call replaces the previous link. A payment link expires after 30 days; to collect an invoice whose link has expired, call this method again.
92
92
  * - `out_of_band`: record a payment that you collected outside Paygentic. The invoice changes to `PAID` immediately. A second call returns 409.
93
93
  *
94
- * For `hosted_link`, an invoice that does not exist returns 403, the same as an invoice of another merchant.
94
+ * For `hosted_link`, an invoice that does not exist returns 404, the same as an invoice of another merchant.
95
95
  *
96
96
  * Paygentic selects the payment provider from your connected payment account. The response reports the provider.
97
97
  *
@@ -150,7 +150,7 @@ class InvoicesV2 extends sdks_js_1.ClientSDK {
150
150
  *
151
151
  * A 500 response has the standard error body, not `retry_payment_result`. It is an internal error, and a retry does not fix it.
152
152
  *
153
- * An invoice that does not exist returns 403, the same as an invoice of another merchant.
153
+ * An invoice that does not exist returns 404, the same as an invoice of another merchant.
154
154
  *
155
155
  * This operation is rate limited to one call each minute for each invoice.
156
156
  */
@@ -34,7 +34,7 @@ export declare class Webhooks extends ClientSDK {
34
34
  * Get Portal Access
35
35
  *
36
36
  * @remarks
37
- * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. Returns 404 unless webhooks are enabled.
37
+ * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. The link is read-only unless the caller holds `webhooks:write`: a read-only portal shows endpoints and deliveries but does not let you add or change endpoints, read the signing secret or replay messages. Returns 404 unless webhooks are enabled.
38
38
  */
39
39
  getPortal(request?: operations.GetWebhookPortalRequest | undefined, options?: RequestOptions): Promise<models.WebhookPortal>;
40
40
  }
@@ -52,7 +52,7 @@ class Webhooks extends sdks_js_1.ClientSDK {
52
52
  * Get Portal Access
53
53
  *
54
54
  * @remarks
55
- * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. Returns 404 unless webhooks are enabled.
55
+ * Returns a link to the webhook portal, where you add endpoints, choose event types, read the signing secret and inspect deliveries. The link opens without a login and expires one hour after it is issued, at `expiresAt`. Treat it as a secret. The link is read-only unless the caller holds `webhooks:write`: a read-only portal shows endpoints and deliveries but does not let you add or change endpoints, read the signing secret or replay messages. Returns 404 unless webhooks are enabled.
56
56
  */
57
57
  async getPortal(request, options) {
58
58
  return (0, fp_js_1.unwrapAsync)((0, webhooksGetPortal_js_1.webhooksGetPortal)(this, request, options));
@@ -63,7 +63,7 @@ async function $do(client, request, options) {
63
63
  const req = requestRes.value;
64
64
  const doResult = await client._do(req, {
65
65
  context,
66
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
66
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
67
67
  retryConfig: context.retryConfig,
68
68
  retryCodes: context.retryCodes,
69
69
  });
@@ -74,7 +74,7 @@ async function $do(client, request, options) {
74
74
  const responseFields = {
75
75
  HttpMeta: { Response: response, Request: req },
76
76
  };
77
- const [result] = await M.match(M.json(201, models.BillableMetric$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
77
+ const [result] = await M.match(M.json(201, models.BillableMetric$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403, 404], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
78
78
  if (!result.ok) {
79
79
  return [result, { status: "complete", request: req, response }];
80
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billableMetricsCreate.js","sourceRoot":"","sources":["../../../src/funcs/billableMetricsCreate.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,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,OA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AO,CAAC,GAAG,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAC3C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,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"}
@@ -78,7 +78,7 @@ async function $do(client, request, options) {
78
78
  const req = requestRes.value;
79
79
  const doResult = await client._do(req, {
80
80
  context,
81
- errorCodes: ["400", "403", "4XX", "500", "5XX"],
81
+ errorCodes: ["400", "403", "404", "4XX", "500", "5XX"],
82
82
  retryConfig: context.retryConfig,
83
83
  retryCodes: context.retryCodes,
84
84
  });
@@ -89,7 +89,7 @@ async function $do(client, request, options) {
89
89
  const responseFields = {
90
90
  HttpMeta: { Response: response, Request: req },
91
91
  };
92
- const [result] = await M.match(M.json(200, models.MeterEventList$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr(403, errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
92
+ const [result] = await M.match(M.json(200, models.MeterEventList$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([403, 404], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
93
93
  if (!result.ok) {
94
94
  return [result, { status: "complete", request: req, response }];
95
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billableMetricsListEvents.js","sourceRoot":"","sources":["../../../src/funcs/billableMetricsListEvents.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,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,yBAAyB,CACvC,MAAqB,EACrB,OAAmD,EACnD,OAAwB;IAgBxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAmD,EACnD,OAAwB;IAmBxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,8CAA8C,CAAC,KAAK,CAAC,KAAK,CAAC,EACxE,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,MAAM,IAAI,GA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AM,CAAC,wBAAwB,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAClD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAC3C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,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"}
@@ -79,7 +79,7 @@ async function $do(client, request, options) {
79
79
  const req = requestRes.value;
80
80
  const doResult = await client._do(req, {
81
81
  context,
82
- errorCodes: ["400", "403", "4XX", "500", "5XX"],
82
+ errorCodes: ["400", "403", "404", "4XX", "500", "5XX"],
83
83
  retryConfig: context.retryConfig,
84
84
  retryCodes: context.retryCodes,
85
85
  });
@@ -90,7 +90,7 @@ async function $do(client, request, options) {
90
90
  const responseFields = {
91
91
  HttpMeta: { Response: response, Request: req },
92
92
  };
93
- const [result] = await M.match(M.json(200, models.UsageResponse$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr(403, errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
93
+ const [result] = await M.match(M.json(200, models.UsageResponse$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([403, 404], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
94
94
  if (!result.ok) {
95
95
  return [result, { status: "complete", request: req, response }];
96
96
  }
@@ -1 +1 @@
1
- {"version":3,"file":"billableMetricsMeter.js","sourceRoot":"","sources":["../../../src/funcs/billableMetricsMeter.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,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,oBAAoB,CAClC,MAAqB,EACrB,OAAiD,EACjD,OAAwB;IAgBxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAiD,EACjD,OAAwB;IAmBxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,4CAA4C,CAAC,KAAK,CAAC,KAAK,CAAC,EACtE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC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GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAa5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,2BAA2B,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAClD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAC3C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,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"}
@@ -63,7 +63,7 @@ async function $do(client, request, options) {
63
63
  const req = requestRes.value;
64
64
  const doResult = await client._do(req, {
65
65
  context,
66
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
66
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
67
67
  retryConfig: context.retryConfig,
68
68
  retryCodes: context.retryCodes,
69
69
  });
@@ -74,7 +74,7 @@ async function $do(client, request, options) {
74
74
  const responseFields = {
75
75
  HttpMeta: { Response: response, Request: req },
76
76
  };
77
- const [result] = await M.match(M.json(201, models.Cost$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
77
+ const [result] = await M.match(M.json(201, models.Cost$inboundSchema), M.jsonErr(400, errors.BadRequest$inboundSchema), M.jsonErr([401, 403, 404], errors.ErrorT$inboundSchema), M.jsonErr(500, errors.ErrorT$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
78
78
  if (!result.ok) {
79
79
  return [result, { status: "complete", request: req, response }];
80
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"costsCreateCost.js","sourceRoot":"","sources":["../../../src/funcs/costsCreateCost.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,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,eAAe,CAC7B,MAAqB,EACrB,OAAqC,EACrC,OAAwB;IAgBxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAqC,EACrC,OAAwB;IAmBxB,MAAM,MAAM,GAAG,SA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