@stigg/typescript 0.1.0-alpha.2 → 0.1.0-alpha.4

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 (135) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/index.d.mts +1 -1
  11. package/resources/index.d.mts.map +1 -1
  12. package/resources/index.d.ts +1 -1
  13. package/resources/index.d.ts.map +1 -1
  14. package/resources/index.js.map +1 -1
  15. package/resources/index.mjs +1 -1
  16. package/resources/index.mjs.map +1 -1
  17. package/resources/v1/coupons.d.mts +28 -78
  18. package/resources/v1/coupons.d.mts.map +1 -1
  19. package/resources/v1/coupons.d.ts +28 -78
  20. package/resources/v1/coupons.d.ts.map +1 -1
  21. package/resources/v1/coupons.js +3 -3
  22. package/resources/v1/coupons.mjs +3 -3
  23. package/resources/v1/customers/customers.d.mts +132 -48
  24. package/resources/v1/customers/customers.d.mts.map +1 -1
  25. package/resources/v1/customers/customers.d.ts +132 -48
  26. package/resources/v1/customers/customers.d.ts.map +1 -1
  27. package/resources/v1/customers/customers.js +21 -15
  28. package/resources/v1/customers/customers.js.map +1 -1
  29. package/resources/v1/customers/customers.mjs +21 -15
  30. package/resources/v1/customers/customers.mjs.map +1 -1
  31. package/resources/v1/customers/index.d.mts +2 -2
  32. package/resources/v1/customers/index.d.mts.map +1 -1
  33. package/resources/v1/customers/index.d.ts +2 -2
  34. package/resources/v1/customers/index.d.ts.map +1 -1
  35. package/resources/v1/customers/index.js +3 -3
  36. package/resources/v1/customers/index.js.map +1 -1
  37. package/resources/v1/customers/index.mjs +1 -1
  38. package/resources/v1/customers/index.mjs.map +1 -1
  39. package/resources/v1/customers/payment-method.d.mts +5 -2
  40. package/resources/v1/customers/payment-method.d.mts.map +1 -1
  41. package/resources/v1/customers/payment-method.d.ts +5 -2
  42. package/resources/v1/customers/payment-method.d.ts.map +1 -1
  43. package/resources/v1/customers/payment-method.js +2 -2
  44. package/resources/v1/customers/payment-method.mjs +2 -2
  45. package/resources/v1/customers/promotional-entitlements.d.mts +350 -0
  46. package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -0
  47. package/resources/v1/customers/promotional-entitlements.d.ts +350 -0
  48. package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -0
  49. package/resources/v1/customers/promotional-entitlements.js +23 -0
  50. package/resources/v1/customers/promotional-entitlements.js.map +1 -0
  51. package/resources/v1/customers/promotional-entitlements.mjs +19 -0
  52. package/resources/v1/customers/promotional-entitlements.mjs.map +1 -0
  53. package/resources/v1/events.d.mts +62 -0
  54. package/resources/v1/events.d.mts.map +1 -0
  55. package/resources/v1/events.d.ts +62 -0
  56. package/resources/v1/events.d.ts.map +1 -0
  57. package/resources/v1/events.js +15 -0
  58. package/resources/v1/events.js.map +1 -0
  59. package/resources/v1/events.mjs +11 -0
  60. package/resources/v1/events.mjs.map +1 -0
  61. package/resources/v1/index.d.mts +6 -4
  62. package/resources/v1/index.d.mts.map +1 -1
  63. package/resources/v1/index.d.ts +6 -4
  64. package/resources/v1/index.d.ts.map +1 -1
  65. package/resources/v1/index.js +5 -1
  66. package/resources/v1/index.js.map +1 -1
  67. package/resources/v1/index.mjs +3 -1
  68. package/resources/v1/index.mjs.map +1 -1
  69. package/resources/v1/subscriptions/future-update.d.mts +11 -19
  70. package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
  71. package/resources/v1/subscriptions/future-update.d.ts +11 -19
  72. package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
  73. package/resources/v1/subscriptions/future-update.js +2 -2
  74. package/resources/v1/subscriptions/future-update.js.map +1 -1
  75. package/resources/v1/subscriptions/future-update.mjs +2 -2
  76. package/resources/v1/subscriptions/future-update.mjs.map +1 -1
  77. package/resources/v1/subscriptions/index.d.mts +2 -2
  78. package/resources/v1/subscriptions/index.d.mts.map +1 -1
  79. package/resources/v1/subscriptions/index.d.ts +2 -2
  80. package/resources/v1/subscriptions/index.d.ts.map +1 -1
  81. package/resources/v1/subscriptions/index.js.map +1 -1
  82. package/resources/v1/subscriptions/index.mjs +1 -1
  83. package/resources/v1/subscriptions/index.mjs.map +1 -1
  84. package/resources/v1/subscriptions/subscriptions.d.mts +1354 -446
  85. package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
  86. package/resources/v1/subscriptions/subscriptions.d.ts +1354 -446
  87. package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
  88. package/resources/v1/subscriptions/subscriptions.js +29 -11
  89. package/resources/v1/subscriptions/subscriptions.js.map +1 -1
  90. package/resources/v1/subscriptions/subscriptions.mjs +30 -12
  91. package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
  92. package/resources/v1/usage.d.mts +229 -0
  93. package/resources/v1/usage.d.mts.map +1 -0
  94. package/resources/v1/usage.d.ts +229 -0
  95. package/resources/v1/usage.d.ts.map +1 -0
  96. package/resources/v1/usage.js +23 -0
  97. package/resources/v1/usage.js.map +1 -0
  98. package/resources/v1/usage.mjs +19 -0
  99. package/resources/v1/usage.mjs.map +1 -0
  100. package/resources/v1/v1.d.mts +14 -149
  101. package/resources/v1/v1.d.mts.map +1 -1
  102. package/resources/v1/v1.d.ts +14 -149
  103. package/resources/v1/v1.d.ts.map +1 -1
  104. package/resources/v1/v1.js +8 -12
  105. package/resources/v1/v1.js.map +1 -1
  106. package/resources/v1/v1.mjs +8 -12
  107. package/resources/v1/v1.mjs.map +1 -1
  108. package/src/client.ts +2 -14
  109. package/src/resources/index.ts +1 -7
  110. package/src/resources/v1/coupons.ts +28 -211
  111. package/src/resources/v1/customers/customers.ts +167 -62
  112. package/src/resources/v1/customers/index.ts +10 -2
  113. package/src/resources/v1/customers/payment-method.ts +5 -2
  114. package/src/resources/v1/customers/promotional-entitlements.ts +466 -0
  115. package/src/resources/v1/events.ts +73 -0
  116. package/src/resources/v1/index.ts +19 -15
  117. package/src/resources/v1/subscriptions/future-update.ts +11 -27
  118. package/src/resources/v1/subscriptions/index.ts +8 -11
  119. package/src/resources/v1/subscriptions/subscriptions.ts +2987 -689
  120. package/src/resources/v1/usage.ts +283 -0
  121. package/src/resources/v1/v1.ts +50 -197
  122. package/src/version.ts +1 -1
  123. package/version.d.mts +1 -1
  124. package/version.d.ts +1 -1
  125. package/version.js +1 -1
  126. package/version.mjs +1 -1
  127. package/resources/v1/customers/usage.d.mts +0 -98
  128. package/resources/v1/customers/usage.d.mts.map +0 -1
  129. package/resources/v1/customers/usage.d.ts +0 -98
  130. package/resources/v1/customers/usage.d.ts.map +0 -1
  131. package/resources/v1/customers/usage.js +0 -20
  132. package/resources/v1/customers/usage.js.map +0 -1
  133. package/resources/v1/customers/usage.mjs +0 -16
  134. package/resources/v1/customers/usage.mjs.map +0 -1
  135. package/src/resources/v1/customers/usage.ts +0 -132
@@ -1,6 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Coupons, } from "./coupons.mjs";
3
3
  export { Customers, } from "./customers/index.mjs";
4
+ export { Events } from "./events.mjs";
4
5
  export { Subscriptions, } from "./subscriptions/index.mjs";
5
- export { V1, } from "./v1.mjs";
6
+ export { Usage, } from "./usage.mjs";
7
+ export { V1 } from "./v1.mjs";
6
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAOR;OACM,EACL,SAAS,GAOV;OACM,EACL,aAAa,GAed;OACM,EACL,EAAE,GAKH"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,OAAO,GAMR;OACM,EACL,SAAS,GASV;OACM,EAAE,MAAM,EAAoD;OAC5D,EACL,aAAa,GAgBd;OACM,EACL,KAAK,GAKN;OACM,EAAE,EAAE,EAAE"}
@@ -3,29 +3,21 @@ import { APIPromise } from "../../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../../internal/request-options.mjs";
4
4
  export declare class FutureUpdate extends APIResource {
5
5
  /**
6
- * Perform cancel future update on a Subscription
6
+ * Cancel pending payment update
7
7
  */
8
- cancelPendingPayment(id: string, options?: RequestOptions): APIPromise<FutureUpdateCancelPendingPaymentResponse>;
8
+ cancelPendingPayment(id: string, options?: RequestOptions): APIPromise<CancelSubscription>;
9
9
  /**
10
- * Perform cancel future update on a Subscription
10
+ * Cancel scheduled update
11
11
  */
12
- cancelSchedule(id: string, options?: RequestOptions): APIPromise<FutureUpdateCancelScheduleResponse>;
12
+ cancelSchedule(id: string, options?: RequestOptions): APIPromise<CancelSubscription>;
13
13
  }
14
- export interface FutureUpdateCancelPendingPaymentResponse {
15
- data: FutureUpdateCancelPendingPaymentResponse.Data;
14
+ /**
15
+ * Response object
16
+ */
17
+ export interface CancelSubscription {
18
+ data: CancelSubscription.Data;
16
19
  }
17
- export declare namespace FutureUpdateCancelPendingPaymentResponse {
18
- interface Data {
19
- /**
20
- * Subscription ID
21
- */
22
- id: string;
23
- }
24
- }
25
- export interface FutureUpdateCancelScheduleResponse {
26
- data: FutureUpdateCancelScheduleResponse.Data;
27
- }
28
- export declare namespace FutureUpdateCancelScheduleResponse {
20
+ export declare namespace CancelSubscription {
29
21
  interface Data {
30
22
  /**
31
23
  * Subscription ID
@@ -34,6 +26,6 @@ export declare namespace FutureUpdateCancelScheduleResponse {
34
26
  }
35
27
  }
36
28
  export declare namespace FutureUpdate {
37
- export { type FutureUpdateCancelPendingPaymentResponse as FutureUpdateCancelPendingPaymentResponse, type FutureUpdateCancelScheduleResponse as FutureUpdateCancelScheduleResponse, };
29
+ export { type CancelSubscription as CancelSubscription };
38
30
  }
39
31
  //# sourceMappingURL=future-update.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"future-update.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,oBAAoB,CAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;IAIvD;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;CAGrG;AAED,MAAM,WAAW,wCAAwC;IACvD,IAAI,EAAE,wCAAwC,CAAC,IAAI,CAAC;CACrD;AAED,yBAAiB,wCAAwC,CAAC;IACxD,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,kCAAkC,CAAC,IAAI,CAAC;CAC/C;AAED,yBAAiB,kCAAkC,CAAC;IAClD,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
1
+ {"version":3,"file":"future-update.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI1F;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGrF;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC;CAC/B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC1D"}
@@ -3,29 +3,21 @@ import { APIPromise } from "../../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../../internal/request-options.js";
4
4
  export declare class FutureUpdate extends APIResource {
5
5
  /**
6
- * Perform cancel future update on a Subscription
6
+ * Cancel pending payment update
7
7
  */
8
- cancelPendingPayment(id: string, options?: RequestOptions): APIPromise<FutureUpdateCancelPendingPaymentResponse>;
8
+ cancelPendingPayment(id: string, options?: RequestOptions): APIPromise<CancelSubscription>;
9
9
  /**
10
- * Perform cancel future update on a Subscription
10
+ * Cancel scheduled update
11
11
  */
12
- cancelSchedule(id: string, options?: RequestOptions): APIPromise<FutureUpdateCancelScheduleResponse>;
12
+ cancelSchedule(id: string, options?: RequestOptions): APIPromise<CancelSubscription>;
13
13
  }
14
- export interface FutureUpdateCancelPendingPaymentResponse {
15
- data: FutureUpdateCancelPendingPaymentResponse.Data;
14
+ /**
15
+ * Response object
16
+ */
17
+ export interface CancelSubscription {
18
+ data: CancelSubscription.Data;
16
19
  }
17
- export declare namespace FutureUpdateCancelPendingPaymentResponse {
18
- interface Data {
19
- /**
20
- * Subscription ID
21
- */
22
- id: string;
23
- }
24
- }
25
- export interface FutureUpdateCancelScheduleResponse {
26
- data: FutureUpdateCancelScheduleResponse.Data;
27
- }
28
- export declare namespace FutureUpdateCancelScheduleResponse {
20
+ export declare namespace CancelSubscription {
29
21
  interface Data {
30
22
  /**
31
23
  * Subscription ID
@@ -34,6 +26,6 @@ export declare namespace FutureUpdateCancelScheduleResponse {
34
26
  }
35
27
  }
36
28
  export declare namespace FutureUpdate {
37
- export { type FutureUpdateCancelPendingPaymentResponse as FutureUpdateCancelPendingPaymentResponse, type FutureUpdateCancelScheduleResponse as FutureUpdateCancelScheduleResponse, };
29
+ export { type CancelSubscription as CancelSubscription };
38
30
  }
39
31
  //# sourceMappingURL=future-update.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"future-update.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,oBAAoB,CAClB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;IAIvD;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;CAGrG;AAED,MAAM,WAAW,wCAAwC;IACvD,IAAI,EAAE,wCAAwC,CAAC,IAAI,CAAC;CACrD;AAED,yBAAiB,wCAAwC,CAAC;IACxD,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,kCAAkC,CAAC,IAAI,CAAC;CAC/C;AAED,yBAAiB,kCAAkC,CAAC;IAClD,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
1
+ {"version":3,"file":"future-update.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,oBAAoB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI1F;;OAEG;IACH,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGrF;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC;CAC/B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,CAAC;CAC1D"}
@@ -6,13 +6,13 @@ const resource_1 = require("../../../core/resource.js");
6
6
  const path_1 = require("../../../internal/utils/path.js");
7
7
  class FutureUpdate extends resource_1.APIResource {
8
8
  /**
9
- * Perform cancel future update on a Subscription
9
+ * Cancel pending payment update
10
10
  */
11
11
  cancelPendingPayment(id, options) {
12
12
  return this._client.delete((0, path_1.path) `/api/v1/subscriptions/${id}/future-update/pending-payment`, options);
13
13
  }
14
14
  /**
15
- * Perform cancel future update on a Subscription
15
+ * Cancel scheduled update
16
16
  */
17
17
  cancelSchedule(id, options) {
18
18
  return this._client.delete((0, path_1.path) `/api/v1/subscriptions/${id}/future-update/schedule`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"future-update.js","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;CACF;AAjBD,oCAiBC"}
1
+ {"version":3,"file":"future-update.js","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,oBAAoB,CAAC,EAAU,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;CACF;AAdD,oCAcC"}
@@ -3,13 +3,13 @@ import { APIResource } from "../../../core/resource.mjs";
3
3
  import { path } from "../../../internal/utils/path.mjs";
4
4
  export class FutureUpdate extends APIResource {
5
5
  /**
6
- * Perform cancel future update on a Subscription
6
+ * Cancel pending payment update
7
7
  */
8
8
  cancelPendingPayment(id, options) {
9
9
  return this._client.delete(path `/api/v1/subscriptions/${id}/future-update/pending-payment`, options);
10
10
  }
11
11
  /**
12
- * Perform cancel future update on a Subscription
12
+ * Cancel scheduled update
13
13
  */
14
14
  cancelSchedule(id, options) {
15
15
  return this._client.delete(path `/api/v1/subscriptions/${id}/future-update/schedule`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"future-update.mjs","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;CACF"}
1
+ {"version":3,"file":"future-update.mjs","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/future-update.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,oBAAoB,CAAC,EAAU,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACvG,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAChG,CAAC;CACF"}
@@ -1,3 +1,3 @@
1
- export { FutureUpdate, type FutureUpdateCancelPendingPaymentResponse, type FutureUpdateCancelScheduleResponse, } from "./future-update.mjs";
2
- export { Subscriptions, type SubscriptionCreateResponse, type SubscriptionRetrieveResponse, type SubscriptionListResponse, type SubscriptionDelegateResponse, type SubscriptionMigrateResponse, type SubscriptionPreviewResponse, type SubscriptionTransferResponse, type SubscriptionCreateParams, type SubscriptionListParams, type SubscriptionDelegateParams, type SubscriptionMigrateParams, type SubscriptionPreviewParams, type SubscriptionTransferParams, type SubscriptionListResponsesMyCursorIDPage, } from "./subscriptions.mjs";
1
+ export { FutureUpdate, type CancelSubscription } from "./future-update.mjs";
2
+ export { Subscriptions, type Subscription, type SubscriptionListResponse, type SubscriptionImportResponse, type SubscriptionPreviewResponse, type SubscriptionProvisionResponse, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionCancelParams, type SubscriptionDelegateParams, type SubscriptionImportParams, type SubscriptionMigrateParams, type SubscriptionPreviewParams, type SubscriptionProvisionParams, type SubscriptionTransferParams, type SubscriptionListResponsesMyCursorIDPage, } from "./subscriptions.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,wCAAwC,EAC7C,KAAK,kCAAkC,GACxC;OACM,EACL,aAAa,EACb,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,GAC7C"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE;OACzC,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,GAC7C"}
@@ -1,3 +1,3 @@
1
- export { FutureUpdate, type FutureUpdateCancelPendingPaymentResponse, type FutureUpdateCancelScheduleResponse, } from "./future-update.js";
2
- export { Subscriptions, type SubscriptionCreateResponse, type SubscriptionRetrieveResponse, type SubscriptionListResponse, type SubscriptionDelegateResponse, type SubscriptionMigrateResponse, type SubscriptionPreviewResponse, type SubscriptionTransferResponse, type SubscriptionCreateParams, type SubscriptionListParams, type SubscriptionDelegateParams, type SubscriptionMigrateParams, type SubscriptionPreviewParams, type SubscriptionTransferParams, type SubscriptionListResponsesMyCursorIDPage, } from "./subscriptions.js";
1
+ export { FutureUpdate, type CancelSubscription } from "./future-update.js";
2
+ export { Subscriptions, type Subscription, type SubscriptionListResponse, type SubscriptionImportResponse, type SubscriptionPreviewResponse, type SubscriptionProvisionResponse, type SubscriptionUpdateParams, type SubscriptionListParams, type SubscriptionCancelParams, type SubscriptionDelegateParams, type SubscriptionImportParams, type SubscriptionMigrateParams, type SubscriptionPreviewParams, type SubscriptionProvisionParams, type SubscriptionTransferParams, type SubscriptionListResponsesMyCursorIDPage, } from "./subscriptions.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":"OAEO,EACL,YAAY,EACZ,KAAK,wCAAwC,EAC7C,KAAK,kCAAkC,GACxC;OACM,EACL,aAAa,EACb,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,GAC7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":"OAEO,EAAE,YAAY,EAAE,KAAK,kBAAkB,EAAE;OACzC,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,GAC7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAIyB;AAHvB,6GAAA,YAAY,OAAA;AAId,oDAgByB;AAfvB,8GAAA,aAAa,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAAwE;AAA/D,6GAAA,YAAY,OAAA;AACrB,oDAiByB;AAhBvB,8GAAA,aAAa,OAAA"}
@@ -1,4 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export { FutureUpdate, } from "./future-update.mjs";
2
+ export { FutureUpdate } from "./future-update.mjs";
3
3
  export { Subscriptions, } from "./subscriptions.mjs";
4
4
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,YAAY,GAGb;OACM,EACL,aAAa,GAed"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/subscriptions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,YAAY,EAA2B;OACzC,EACL,aAAa,GAgBd"}