@flexprice/sdk 2.1.48-dev.6 → 2.1.48-dev.8
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/docs/sdks/commitments/README.md +1 -1
- package/esm/funcs/commitments-terminate-commitment.d.ts +1 -1
- package/esm/funcs/commitments-terminate-commitment.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/sdk/commitments.d.ts +1 -1
- package/esm/sdk/commitments.js +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/funcs/commitments-terminate-commitment.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/commitments.ts +1 -1
|
@@ -784,7 +784,7 @@ run();
|
|
|
784
784
|
|
|
785
785
|
## terminateCommitment
|
|
786
786
|
|
|
787
|
-
Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
787
|
+
Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
788
788
|
|
|
789
789
|
### Example Usage
|
|
790
790
|
|
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Terminate commitment
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
14
|
+
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
15
15
|
*/
|
|
16
16
|
export declare function commitmentsTerminateCommitment(client: FlexpriceCore, id: string, body?: models.TerminateCommitmentRequest | undefined, options?: RequestOptions): APIPromise<Result<models.CommitmentResponse, models.ErrorsErrorResponse | FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
17
|
//# sourceMappingURL=commitments-terminate-commitment.d.ts.map
|
|
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
* Terminate commitment
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
18
|
+
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
19
19
|
*/
|
|
20
20
|
export function commitmentsTerminateCommitment(client, id, body, options) {
|
|
21
21
|
return new APIPromise($do(client, id, body, options));
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "1.0";
|
|
38
|
-
readonly sdkVersion: "2.1.48-dev.
|
|
38
|
+
readonly sdkVersion: "2.1.48-dev.8";
|
|
39
39
|
readonly genVersion: "2.956.1";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 2.1.48-dev.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 2.1.48-dev.8 2.956.1 1.0 @flexprice/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -39,8 +39,8 @@ export function serverURLFromOptions(options) {
|
|
|
39
39
|
export const SDK_METADATA = {
|
|
40
40
|
language: "typescript",
|
|
41
41
|
openapiDocVersion: "1.0",
|
|
42
|
-
sdkVersion: "2.1.48-dev.
|
|
42
|
+
sdkVersion: "2.1.48-dev.8",
|
|
43
43
|
genVersion: "2.956.1",
|
|
44
|
-
userAgent: "speakeasy-sdk/typescript 2.1.48-dev.
|
|
44
|
+
userAgent: "speakeasy-sdk/typescript 2.1.48-dev.8 2.956.1 1.0 @flexprice/sdk",
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=config.js.map
|
package/esm/sdk/commitments.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare class Commitments extends ClientSDK {
|
|
|
75
75
|
* Terminate commitment
|
|
76
76
|
*
|
|
77
77
|
* @remarks
|
|
78
|
-
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
78
|
+
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
79
79
|
*/
|
|
80
80
|
terminateCommitment(id: string, body?: models.TerminateCommitmentRequest | undefined, options?: RequestOptions): Promise<models.CommitmentResponse>;
|
|
81
81
|
}
|
package/esm/sdk/commitments.js
CHANGED
|
@@ -109,7 +109,7 @@ export class Commitments extends ClientSDK {
|
|
|
109
109
|
* Terminate commitment
|
|
110
110
|
*
|
|
111
111
|
* @remarks
|
|
112
|
-
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
112
|
+
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
113
113
|
*/
|
|
114
114
|
async terminateCommitment(id, body, options) {
|
|
115
115
|
return unwrapAsync(commitmentsTerminateCommitment(this, id, body, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flexprice/sdk",
|
|
3
|
-
"version": "2.1.48-dev.
|
|
3
|
+
"version": "2.1.48-dev.8",
|
|
4
4
|
"author": "FlexPrice",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"zod": "^3.25.65 || ^4.0.0"
|
|
51
51
|
},
|
|
52
|
-
"flexpriceCommit": "
|
|
52
|
+
"flexpriceCommit": "200b893e0951a8632b612194f690f0d5be0f5dd1"
|
|
53
53
|
}
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Terminate commitment
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
33
|
+
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
34
34
|
*/
|
|
35
35
|
export function commitmentsTerminateCommitment(
|
|
36
36
|
client: FlexpriceCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -77,7 +77,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
77
77
|
export const SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "1.0",
|
|
80
|
-
sdkVersion: "2.1.48-dev.
|
|
80
|
+
sdkVersion: "2.1.48-dev.8",
|
|
81
81
|
genVersion: "2.956.1",
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 2.1.48-dev.
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 2.1.48-dev.8 2.956.1 1.0 @flexprice/sdk",
|
|
83
83
|
} as const;
|
package/src/sdk/commitments.ts
CHANGED
|
@@ -204,7 +204,7 @@ export class Commitments extends ClientSDK {
|
|
|
204
204
|
* Terminate commitment
|
|
205
205
|
*
|
|
206
206
|
* @remarks
|
|
207
|
-
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled and
|
|
207
|
+
* Ends a commitment immediately. effective_at defaults to now and cannot be in the future. Under billing terms, its scheduled instalments are cancelled, and those already due by effective_at are billed together as one settlement; later instalments are not billed and nothing is refunded. The settlement and a fixed cancellation fee, when given, are billed together on one one-off invoice.
|
|
208
208
|
*/
|
|
209
209
|
async terminateCommitment(
|
|
210
210
|
id: string,
|