@paygentic/sdk 0.7.5 → 0.7.6
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/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/creategrantrequest.d.ts +2 -2
- package/dist/commonjs/models/purchasegrantrequest.d.ts +2 -2
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/creategrantrequest.d.ts +2 -2
- package/dist/esm/models/purchasegrantrequest.d.ts +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/creategrantrequest.ts +2 -2
- package/src/models/purchasegrantrequest.ts +2 -2
|
@@ -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.7.
|
|
34
|
+
readonly sdkVersion: "0.7.6";
|
|
35
35
|
readonly genVersion: "2.879.13";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.7.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.7.6 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.7.
|
|
38
|
+
sdkVersion: "0.7.6",
|
|
39
39
|
genVersion: "2.879.13",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.7.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.7.6 2.879.13 0.1.0 @paygentic/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -17,11 +17,11 @@ export type CreateGrantRequest = {
|
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey: string;
|
|
19
19
|
/**
|
|
20
|
-
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the entire balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset.
|
|
20
|
+
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the entire balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset. Ignored when the target entitlement has no `usagePeriod` (one-time entitlement) — one-time entitlements have no reset boundary, so this field has no effect.
|
|
21
21
|
*/
|
|
22
22
|
resetMaxRollover?: number | undefined;
|
|
23
23
|
/**
|
|
24
|
-
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor).
|
|
24
|
+
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor). Ignored when the target entitlement has no `usagePeriod` (one-time entitlement).
|
|
25
25
|
*/
|
|
26
26
|
resetMinRollover?: number | undefined;
|
|
27
27
|
};
|
|
@@ -33,11 +33,11 @@ export type PurchaseGrantRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
paymentExpiresAt?: Date | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the purchased grant balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset.
|
|
36
|
+
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the purchased grant balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset. Ignored when the target entitlement has no `usagePeriod` (one-time entitlement) — one-time entitlements have no reset boundary, so this field has no effect.
|
|
37
37
|
*/
|
|
38
38
|
resetMaxRollover?: number | undefined;
|
|
39
39
|
/**
|
|
40
|
-
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor).
|
|
40
|
+
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor). Ignored when the target entitlement has no `usagePeriod` (one-time entitlement).
|
|
41
41
|
*/
|
|
42
42
|
resetMinRollover?: number | undefined;
|
|
43
43
|
};
|
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.7.
|
|
34
|
+
readonly sdkVersion: "0.7.6";
|
|
35
35
|
readonly genVersion: "2.879.13";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.7.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.7.6 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.7.
|
|
34
|
+
sdkVersion: "0.7.6",
|
|
35
35
|
genVersion: "2.879.13",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.7.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.7.6 2.879.13 0.1.0 @paygentic/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -17,11 +17,11 @@ export type CreateGrantRequest = {
|
|
|
17
17
|
*/
|
|
18
18
|
idempotencyKey: string;
|
|
19
19
|
/**
|
|
20
|
-
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the entire balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset.
|
|
20
|
+
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the entire balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset. Ignored when the target entitlement has no `usagePeriod` (one-time entitlement) — one-time entitlements have no reset boundary, so this field has no effect.
|
|
21
21
|
*/
|
|
22
22
|
resetMaxRollover?: number | undefined;
|
|
23
23
|
/**
|
|
24
|
-
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor).
|
|
24
|
+
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor). Ignored when the target entitlement has no `usagePeriod` (one-time entitlement).
|
|
25
25
|
*/
|
|
26
26
|
resetMinRollover?: number | undefined;
|
|
27
27
|
};
|
|
@@ -33,11 +33,11 @@ export type PurchaseGrantRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
paymentExpiresAt?: Date | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the purchased grant balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset.
|
|
36
|
+
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the purchased grant balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset. Ignored when the target entitlement has no `usagePeriod` (one-time entitlement) — one-time entitlements have no reset boundary, so this field has no effect.
|
|
37
37
|
*/
|
|
38
38
|
resetMaxRollover?: number | undefined;
|
|
39
39
|
/**
|
|
40
|
-
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor).
|
|
40
|
+
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor). Ignored when the target entitlement has no `usagePeriod` (one-time entitlement).
|
|
41
41
|
*/
|
|
42
42
|
resetMinRollover?: number | undefined;
|
|
43
43
|
};
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "0.1.0",
|
|
68
|
-
sdkVersion: "0.7.
|
|
68
|
+
sdkVersion: "0.7.6",
|
|
69
69
|
genVersion: "2.879.13",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.7.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.7.6 2.879.13 0.1.0 @paygentic/sdk",
|
|
71
71
|
} as const;
|
|
@@ -22,11 +22,11 @@ export type CreateGrantRequest = {
|
|
|
22
22
|
*/
|
|
23
23
|
idempotencyKey: string;
|
|
24
24
|
/**
|
|
25
|
-
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the entire balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset.
|
|
25
|
+
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the entire balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset. Ignored when the target entitlement has no `usagePeriod` (one-time entitlement) — one-time entitlements have no reset boundary, so this field has no effect.
|
|
26
26
|
*/
|
|
27
27
|
resetMaxRollover?: number | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor).
|
|
29
|
+
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor). Ignored when the target entitlement has no `usagePeriod` (one-time entitlement).
|
|
30
30
|
*/
|
|
31
31
|
resetMinRollover?: number | undefined;
|
|
32
32
|
};
|
|
@@ -38,11 +38,11 @@ export type PurchaseGrantRequest = {
|
|
|
38
38
|
*/
|
|
39
39
|
paymentExpiresAt?: Date | undefined;
|
|
40
40
|
/**
|
|
41
|
-
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the purchased grant balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset.
|
|
41
|
+
* Maximum balance carried over at the entitlement's reset boundary. If omitted, the purchased grant balance rolls over until consumed or expired. Set to 0 to discard any remaining balance at each reset. Ignored when the target entitlement has no `usagePeriod` (one-time entitlement) — one-time entitlements have no reset boundary, so this field has no effect.
|
|
42
42
|
*/
|
|
43
43
|
resetMaxRollover?: number | undefined;
|
|
44
44
|
/**
|
|
45
|
-
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor).
|
|
45
|
+
* Minimum balance at the entitlement's reset boundary; balances below this are floored up. Defaults to 0 (no floor). Ignored when the target entitlement has no `usagePeriod` (one-time entitlement).
|
|
46
46
|
*/
|
|
47
47
|
resetMinRollover?: number | undefined;
|
|
48
48
|
};
|