@paygentic/sdk 0.10.3 → 0.10.5
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/README.md +19 -62
- package/dist/commonjs/funcs/meGetMe.d.ts +18 -0
- package/dist/commonjs/funcs/meGetMe.d.ts.map +1 -0
- package/dist/commonjs/funcs/meGetMe.js +108 -0
- package/dist/commonjs/funcs/meGetMe.js.map +1 -0
- package/dist/commonjs/funcs/pricesUpdate.d.ts +3 -0
- package/dist/commonjs/funcs/pricesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/pricesUpdate.js +3 -0
- package/dist/commonjs/funcs/pricesUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/changereason.d.ts +3 -2
- package/dist/commonjs/models/changereason.d.ts.map +1 -1
- package/dist/commonjs/models/changereason.js +2 -1
- package/dist/commonjs/models/changereason.js.map +1 -1
- package/dist/commonjs/models/editsubscriptionintervalsrequestunion.d.ts +3 -3
- package/dist/commonjs/models/errors/error.d.ts +6 -0
- package/dist/commonjs/models/errors/error.d.ts.map +1 -1
- package/dist/commonjs/models/errors/error.js +3 -0
- package/dist/commonjs/models/errors/error.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/me.d.ts +34 -0
- package/dist/commonjs/models/me.d.ts.map +1 -0
- package/dist/commonjs/models/me.js +63 -0
- package/dist/commonjs/models/me.js.map +1 -0
- package/dist/commonjs/models/mecredential.d.ts +31 -0
- package/dist/commonjs/models/mecredential.d.ts.map +1 -0
- package/dist/commonjs/models/mecredential.js +60 -0
- package/dist/commonjs/models/mecredential.js.map +1 -0
- package/dist/commonjs/models/operations/createsubscription.d.ts +1 -1
- package/dist/commonjs/models/operations/terminatesubscription.d.ts +1 -1
- package/dist/commonjs/models/operations/updateprice.d.ts +0 -24
- package/dist/commonjs/models/operations/updateprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateprice.js +1 -12
- package/dist/commonjs/models/operations/updateprice.js.map +1 -1
- package/dist/commonjs/models/outstandingblock.d.ts +5 -1
- package/dist/commonjs/models/outstandingblock.d.ts.map +1 -1
- package/dist/commonjs/models/outstandingblock.js +1 -0
- package/dist/commonjs/models/outstandingblock.js.map +1 -1
- package/dist/commonjs/models/permission.d.ts +117 -0
- package/dist/commonjs/models/permission.d.ts.map +1 -0
- package/dist/commonjs/models/permission.js +152 -0
- package/dist/commonjs/models/permission.js.map +1 -0
- package/dist/commonjs/models/revenueaccountrow.d.ts +1 -1
- package/dist/commonjs/models/revenueaccounttotal.d.ts +1 -1
- package/dist/commonjs/models/subscription.d.ts +1 -0
- package/dist/commonjs/models/subscription.d.ts.map +1 -1
- package/dist/commonjs/models/subscription.js +1 -0
- package/dist/commonjs/models/subscription.js.map +1 -1
- package/dist/commonjs/models/subscriptionintervalchange.d.ts +1 -1
- package/dist/commonjs/sdk/me.d.ts +12 -0
- package/dist/commonjs/sdk/me.d.ts.map +1 -0
- package/dist/commonjs/sdk/me.js +22 -0
- package/dist/commonjs/sdk/me.js.map +1 -0
- package/dist/commonjs/sdk/prices.d.ts +3 -0
- package/dist/commonjs/sdk/prices.d.ts.map +1 -1
- package/dist/commonjs/sdk/prices.js +3 -0
- package/dist/commonjs/sdk/prices.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/meGetMe.d.ts +18 -0
- package/dist/esm/funcs/meGetMe.d.ts.map +1 -0
- package/dist/esm/funcs/meGetMe.js +72 -0
- package/dist/esm/funcs/meGetMe.js.map +1 -0
- package/dist/esm/funcs/pricesUpdate.d.ts +3 -0
- package/dist/esm/funcs/pricesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/pricesUpdate.js +3 -0
- package/dist/esm/funcs/pricesUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/changereason.d.ts +3 -2
- package/dist/esm/models/changereason.d.ts.map +1 -1
- package/dist/esm/models/changereason.js +2 -1
- package/dist/esm/models/changereason.js.map +1 -1
- package/dist/esm/models/editsubscriptionintervalsrequestunion.d.ts +3 -3
- package/dist/esm/models/errors/error.d.ts +6 -0
- package/dist/esm/models/errors/error.d.ts.map +1 -1
- package/dist/esm/models/errors/error.js +3 -0
- package/dist/esm/models/errors/error.js.map +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/me.d.ts +34 -0
- package/dist/esm/models/me.d.ts.map +1 -0
- package/dist/esm/models/me.js +26 -0
- package/dist/esm/models/me.js.map +1 -0
- package/dist/esm/models/mecredential.d.ts +31 -0
- package/dist/esm/models/mecredential.d.ts.map +1 -0
- package/dist/esm/models/mecredential.js +23 -0
- package/dist/esm/models/mecredential.js.map +1 -0
- package/dist/esm/models/operations/createsubscription.d.ts +1 -1
- package/dist/esm/models/operations/terminatesubscription.d.ts +1 -1
- package/dist/esm/models/operations/updateprice.d.ts +0 -24
- package/dist/esm/models/operations/updateprice.d.ts.map +1 -1
- package/dist/esm/models/operations/updateprice.js +0 -11
- package/dist/esm/models/operations/updateprice.js.map +1 -1
- package/dist/esm/models/outstandingblock.d.ts +5 -1
- package/dist/esm/models/outstandingblock.d.ts.map +1 -1
- package/dist/esm/models/outstandingblock.js +1 -0
- package/dist/esm/models/outstandingblock.js.map +1 -1
- package/dist/esm/models/permission.d.ts +117 -0
- package/dist/esm/models/permission.d.ts.map +1 -0
- package/dist/esm/models/permission.js +116 -0
- package/dist/esm/models/permission.js.map +1 -0
- package/dist/esm/models/revenueaccountrow.d.ts +1 -1
- package/dist/esm/models/revenueaccounttotal.d.ts +1 -1
- package/dist/esm/models/subscription.d.ts +1 -0
- package/dist/esm/models/subscription.d.ts.map +1 -1
- package/dist/esm/models/subscription.js +1 -0
- package/dist/esm/models/subscription.js.map +1 -1
- package/dist/esm/models/subscriptionintervalchange.d.ts +1 -1
- package/dist/esm/sdk/me.d.ts +12 -0
- package/dist/esm/sdk/me.d.ts.map +1 -0
- package/dist/esm/sdk/me.js +18 -0
- package/dist/esm/sdk/me.js.map +1 -0
- package/dist/esm/sdk/prices.d.ts +3 -0
- package/dist/esm/sdk/prices.d.ts.map +1 -1
- package/dist/esm/sdk/prices.js +3 -0
- package/dist/esm/sdk/prices.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/meGetMe.ts +151 -0
- package/src/funcs/pricesUpdate.ts +3 -0
- package/src/lib/config.ts +2 -2
- package/src/models/changereason.ts +3 -2
- package/src/models/editsubscriptionintervalsrequestunion.ts +3 -3
- package/src/models/errors/error.ts +6 -0
- package/src/models/index.ts +3 -0
- package/src/models/me.ts +60 -0
- package/src/models/mecredential.ts +58 -0
- package/src/models/operations/createsubscription.ts +1 -1
- package/src/models/operations/terminatesubscription.ts +1 -1
- package/src/models/operations/updateprice.ts +0 -30
- package/src/models/outstandingblock.ts +6 -1
- package/src/models/permission.ts +123 -0
- package/src/models/revenueaccountrow.ts +1 -1
- package/src/models/revenueaccounttotal.ts +1 -1
- package/src/models/subscription.ts +1 -0
- package/src/models/subscriptionintervalchange.ts +1 -1
- package/src/sdk/me.ts +25 -0
- package/src/sdk/prices.ts +3 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Me$inboundSchema = exports.OrganizationType$inboundSchema = exports.OrganizationType = void 0;
|
|
40
|
+
exports.meFromJSON = meFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
43
|
+
const mecredential_js_1 = require("./mecredential.js");
|
|
44
|
+
const permission_js_1 = require("./permission.js");
|
|
45
|
+
exports.OrganizationType = {
|
|
46
|
+
Merchant: "merchant",
|
|
47
|
+
Consumer: "consumer",
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.OrganizationType$inboundSchema = z.nativeEnum(exports.OrganizationType);
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.Me$inboundSchema = z.object({
|
|
53
|
+
userId: z.string(),
|
|
54
|
+
organizationId: z.string(),
|
|
55
|
+
organizationType: exports.OrganizationType$inboundSchema,
|
|
56
|
+
roles: z.array(z.string()),
|
|
57
|
+
permissions: z.array(permission_js_1.Permission$inboundSchema),
|
|
58
|
+
credential: mecredential_js_1.MeCredential$inboundSchema,
|
|
59
|
+
});
|
|
60
|
+
function meFromJSON(jsonString) {
|
|
61
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Me$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Me' from JSON`);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=me.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"me.js","sourceRoot":"","sources":["../../../src/models/me.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,gCAQC;AAvDD,0CAA4B;AAC5B,kDAA8C;AAI9C,uDAA6E;AAC7E,mDAAuE;AAE1D,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAqBX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,gBAAgB,GAAyC,CAAC,CAAC,MAAM,CAAC;IAC7E,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,gBAAgB,EAAE,sCAA8B;IAChD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,wCAAwB,CAAC;IAC9C,UAAU,EAAE,4CAA0B;CACvC,CAAC,CAAC;AAEH,SAAgB,UAAU,CACxB,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5C,gCAAgC,CACjC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
export declare const MeCredentialType: {
|
|
6
|
+
readonly Session: "session";
|
|
7
|
+
readonly ApiKey: "apiKey";
|
|
8
|
+
readonly Oauth: "oauth";
|
|
9
|
+
readonly System: "system";
|
|
10
|
+
};
|
|
11
|
+
export type MeCredentialType = ClosedEnum<typeof MeCredentialType>;
|
|
12
|
+
/**
|
|
13
|
+
* The credential of the call. clientId is set for an OAuth token and apiKeyId for an API key.
|
|
14
|
+
*/
|
|
15
|
+
export type MeCredential = {
|
|
16
|
+
type: MeCredentialType;
|
|
17
|
+
/**
|
|
18
|
+
* The OAuth client of the token.
|
|
19
|
+
*/
|
|
20
|
+
clientId?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The API key of the call.
|
|
23
|
+
*/
|
|
24
|
+
apiKeyId?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const MeCredentialType$inboundSchema: z.ZodNativeEnum<typeof MeCredentialType>;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const MeCredential$inboundSchema: z.ZodType<MeCredential, z.ZodTypeDef, unknown>;
|
|
30
|
+
export declare function meCredentialFromJSON(jsonString: string): SafeParseResult<MeCredential, SDKValidationError>;
|
|
31
|
+
//# sourceMappingURL=mecredential.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mecredential.d.ts","sourceRoot":"","sources":["../../../src/models/mecredential.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,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MeCredential$inboundSchema = exports.MeCredentialType$inboundSchema = exports.MeCredentialType = void 0;
|
|
40
|
+
exports.meCredentialFromJSON = meCredentialFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
43
|
+
exports.MeCredentialType = {
|
|
44
|
+
Session: "session",
|
|
45
|
+
ApiKey: "apiKey",
|
|
46
|
+
Oauth: "oauth",
|
|
47
|
+
System: "system",
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.MeCredentialType$inboundSchema = z.nativeEnum(exports.MeCredentialType);
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.MeCredential$inboundSchema = z.object({
|
|
53
|
+
type: exports.MeCredentialType$inboundSchema,
|
|
54
|
+
clientId: z.string().optional(),
|
|
55
|
+
apiKeyId: z.string().optional(),
|
|
56
|
+
});
|
|
57
|
+
function meCredentialFromJSON(jsonString) {
|
|
58
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.MeCredential$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MeCredential' from JSON`);
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=mecredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mecredential.js","sourceRoot":"","sources":["../../../src/models/mecredential.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CH,oDAQC;AArDD,0CAA4B;AAC5B,kDAA8C;AAKjC,QAAA,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAkBX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,sCAA8B;IACpC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -126,7 +126,7 @@ export type CreateSubscriptionRequest = {
|
|
|
126
126
|
[k: string]: models.SubscriptionMetadata;
|
|
127
127
|
} | undefined;
|
|
128
128
|
/**
|
|
129
|
-
* Why a change was made. `correction`
|
|
129
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
130
130
|
*/
|
|
131
131
|
changeReason?: models.ChangeReason | undefined;
|
|
132
132
|
/**
|
|
@@ -6,7 +6,7 @@ export type TerminateSubscriptionRequestBody = {
|
|
|
6
6
|
*/
|
|
7
7
|
reason: string;
|
|
8
8
|
/**
|
|
9
|
-
* Why a change was made. `correction`
|
|
9
|
+
* Why a change was made. `correction` repairs data that was entered wrong; `migration` moves a contract from another system; `commercial` is a real change to the deal; `contractual` applies a step the original contract scheduled, such as an annual uplift. Defaults to `unspecified`.
|
|
10
10
|
*/
|
|
11
11
|
changeReason?: models.ChangeReason | undefined;
|
|
12
12
|
};
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
4
|
import * as models from "../index.js";
|
|
6
|
-
/**
|
|
7
|
-
* Billing timing preference: 'in_advance' (prepaid — charged upfront or drawn from a prepaid commitment) or 'in_arrears' (charged at period end).
|
|
8
|
-
*/
|
|
9
|
-
export declare const UpdatePricePaymentTerm: {
|
|
10
|
-
readonly InArrears: "in_arrears";
|
|
11
|
-
readonly InAdvance: "in_advance";
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Billing timing preference: 'in_advance' (prepaid — charged upfront or drawn from a prepaid commitment) or 'in_arrears' (charged at period end).
|
|
15
|
-
*/
|
|
16
|
-
export type UpdatePricePaymentTerm = ClosedEnum<typeof UpdatePricePaymentTerm>;
|
|
17
5
|
export type UpdatePriceRequestBody = {
|
|
18
6
|
/**
|
|
19
7
|
* Unique identifier for a billable metric
|
|
@@ -36,14 +24,6 @@ export type UpdatePriceRequestBody = {
|
|
|
36
24
|
*/
|
|
37
25
|
model?: models.PriceModelInput | undefined;
|
|
38
26
|
properties?: models.PriceProperties | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Billing timing preference: 'in_advance' (prepaid — charged upfront or drawn from a prepaid commitment) or 'in_arrears' (charged at period end).
|
|
41
|
-
*/
|
|
42
|
-
paymentTerm?: UpdatePricePaymentTerm | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* ISO 8601 duration for recurring fees (e.g., 'P1M' for monthly, 'P1Y' for yearly, or 'P0D' for one-time)
|
|
45
|
-
*/
|
|
46
|
-
billingCadence?: string | null | undefined;
|
|
47
27
|
/**
|
|
48
28
|
* Feature to associate. Set to null to remove existing feature. Omit to leave unchanged.
|
|
49
29
|
*/
|
|
@@ -82,8 +62,6 @@ export type UpdatePriceDetails = {
|
|
|
82
62
|
subscriptionCount?: number | undefined;
|
|
83
63
|
};
|
|
84
64
|
/** @internal */
|
|
85
|
-
export declare const UpdatePricePaymentTerm$outboundSchema: z.ZodNativeEnum<typeof UpdatePricePaymentTerm>;
|
|
86
|
-
/** @internal */
|
|
87
65
|
export type UpdatePriceRequestBody$Outbound = {
|
|
88
66
|
billableMetricId?: string | undefined;
|
|
89
67
|
pricingUnitId?: string | null | undefined;
|
|
@@ -91,8 +69,6 @@ export type UpdatePriceRequestBody$Outbound = {
|
|
|
91
69
|
invoiceDisplayGroup?: string | null | undefined;
|
|
92
70
|
model?: string | undefined;
|
|
93
71
|
properties?: models.PriceProperties$Outbound | undefined;
|
|
94
|
-
paymentTerm?: string | undefined;
|
|
95
|
-
billingCadence?: string | null | undefined;
|
|
96
72
|
feature?: models.PriceFeatureInput$Outbound | null | undefined;
|
|
97
73
|
grantDiscountEnabled?: boolean | undefined;
|
|
98
74
|
isObligation?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateprice.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/updateprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"updateprice.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/updateprice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,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,sBAAsB,GAAG;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,m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7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.UpdatePriceDetails$inboundSchema = exports.UpdatePriceRequest$outboundSchema = exports.UpdatePriceRequestBody$outboundSchema =
|
|
39
|
+
exports.UpdatePriceDetails$inboundSchema = exports.UpdatePriceRequest$outboundSchema = exports.UpdatePriceRequestBody$outboundSchema = void 0;
|
|
40
40
|
exports.updatePriceRequestBodyToJSON = updatePriceRequestBodyToJSON;
|
|
41
41
|
exports.updatePriceRequestToJSON = updatePriceRequestToJSON;
|
|
42
42
|
exports.updatePriceDetailsFromJSON = updatePriceDetailsFromJSON;
|
|
@@ -44,15 +44,6 @@ const z = __importStar(require("zod/v3"));
|
|
|
44
44
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
45
45
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
46
|
const models = __importStar(require("../index.js"));
|
|
47
|
-
/**
|
|
48
|
-
* Billing timing preference: 'in_advance' (prepaid — charged upfront or drawn from a prepaid commitment) or 'in_arrears' (charged at period end).
|
|
49
|
-
*/
|
|
50
|
-
exports.UpdatePricePaymentTerm = {
|
|
51
|
-
InArrears: "in_arrears",
|
|
52
|
-
InAdvance: "in_advance",
|
|
53
|
-
};
|
|
54
|
-
/** @internal */
|
|
55
|
-
exports.UpdatePricePaymentTerm$outboundSchema = z.nativeEnum(exports.UpdatePricePaymentTerm);
|
|
56
47
|
/** @internal */
|
|
57
48
|
exports.UpdatePriceRequestBody$outboundSchema = z.object({
|
|
58
49
|
billableMetricId: z.string().optional(),
|
|
@@ -61,8 +52,6 @@ exports.UpdatePriceRequestBody$outboundSchema = z.object({
|
|
|
61
52
|
invoiceDisplayGroup: z.nullable(z.string()).optional(),
|
|
62
53
|
model: models.PriceModelInput$outboundSchema.optional(),
|
|
63
54
|
properties: models.PriceProperties$outboundSchema.optional(),
|
|
64
|
-
paymentTerm: exports.UpdatePricePaymentTerm$outboundSchema.optional(),
|
|
65
|
-
billingCadence: z.nullable(z.string()).optional(),
|
|
66
55
|
feature: z.nullable(models.PriceFeatureInput$outboundSchema).optional(),
|
|
67
56
|
grantDiscountEnabled: z.boolean().optional(),
|
|
68
57
|
isObligation: z.boolean().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateprice.js","sourceRoot":"","sources":["../../../../src/models/operations/updateprice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"updateprice.js","sourceRoot":"","sources":["../../../../src/models/operations/updateprice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,oEAMC;AAsBD,4DAMC;AAaD,gEAQC;AAhKD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,oDAAsC;AAgFtC,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzC,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,KAAK,EAAE,MAAM,CAAC,8BAA8B,CAAC,QAAQ,EAAE;IACvD,UAAU,EAAE,MAAM,CAAC,8BAA8B,CAAC,QAAQ,EAAE;IAC5D,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,gCAAgC,CAAC,CAAC,QAAQ,EAAE;IACvE,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE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CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { Result as SafeParseResult } from "../types/fp.js";
|
|
|
3
3
|
import { AccountFigure } from "./accountfigure.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
5
|
/**
|
|
6
|
-
* What is owed, gross of tax, from any date. `awaitingPayment` and `paymentFailed` add up to it, in count and amount.
|
|
6
|
+
* What is owed, gross of tax, from any date. `awaitingPayment` and `paymentFailed` add up to it, in count and amount. `overdue` is a part of `awaitingPayment`.
|
|
7
7
|
*/
|
|
8
8
|
export type OutstandingBlock = {
|
|
9
9
|
/**
|
|
@@ -22,6 +22,10 @@ export type OutstandingBlock = {
|
|
|
22
22
|
* The part with status `PAYMENT_FAILED`: collection has ended
|
|
23
23
|
*/
|
|
24
24
|
paymentFailed: AccountFigure;
|
|
25
|
+
/**
|
|
26
|
+
* The invoices of `awaitingPayment` past their due date: status `ISSUED`, no card retry scheduled, and a due date before the start of today, UTC. Today is the subscription's test clock when test clocks are enabled. A subset of `awaitingPayment` by count. A credit invoice is never overdue, so the amount can exceed `awaitingPayment.amount`.
|
|
27
|
+
*/
|
|
28
|
+
overdue: AccountFigure;
|
|
25
29
|
};
|
|
26
30
|
/** @internal */
|
|
27
31
|
export declare const OutstandingBlock$inboundSchema: z.ZodType<OutstandingBlock, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outstandingblock.d.ts","sourceRoot":"","sources":["../../../src/models/outstandingblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,eAAe,EAAE,aAAa,CAAC;IAC/B;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"outstandingblock.d.ts","sourceRoot":"","sources":["../../../src/models/outstandingblock.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAA+B,MAAM,oBAAoB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,eAAe,EAAE,aAAa,CAAC;IAC/B;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;IAC7B;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -47,6 +47,7 @@ exports.OutstandingBlock$inboundSchema = z.object({
|
|
|
47
47
|
amount: z.string(),
|
|
48
48
|
awaitingPayment: accountfigure_js_1.AccountFigure$inboundSchema,
|
|
49
49
|
paymentFailed: accountfigure_js_1.AccountFigure$inboundSchema,
|
|
50
|
+
overdue: accountfigure_js_1.AccountFigure$inboundSchema,
|
|
50
51
|
});
|
|
51
52
|
function outstandingBlockFromJSON(jsonString) {
|
|
52
53
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.OutstandingBlock$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'OutstandingBlock' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outstandingblock.js","sourceRoot":"","sources":["../../../src/models/outstandingblock.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"outstandingblock.js","sourceRoot":"","sources":["../../../src/models/outstandingblock.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CH,4DAQC;AArDD,0CAA4B;AAC5B,kDAA8C;AAE9C,yDAAgF;AA6BhF,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,eAAe,EAAE,8CAA2B;IAC5C,aAAa,EAAE,8CAA2B;IAC1C,OAAO,EAAE,8CAA2B;CACrC,CAAC,CAAC;AAEH,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* A permission of the catalog: a resource read or write, or a sensitive action.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Permission: {
|
|
7
|
+
readonly OrganizationRead: "organization:read";
|
|
8
|
+
readonly MembersRead: "members:read";
|
|
9
|
+
readonly ProfileRead: "profile:read";
|
|
10
|
+
readonly ApiKeysRead: "apiKeys:read";
|
|
11
|
+
readonly MerchantsRead: "merchants:read";
|
|
12
|
+
readonly ConsumersRead: "consumers:read";
|
|
13
|
+
readonly CustomersRead: "customers:read";
|
|
14
|
+
readonly PlansRead: "plans:read";
|
|
15
|
+
readonly PricesRead: "prices:read";
|
|
16
|
+
readonly ProductsRead: "products:read";
|
|
17
|
+
readonly FeaturesRead: "features:read";
|
|
18
|
+
readonly FeesRead: "fees:read";
|
|
19
|
+
readonly BillableMetricsRead: "billableMetrics:read";
|
|
20
|
+
readonly ItemsRead: "items:read";
|
|
21
|
+
readonly PricingUnitsRead: "pricingUnits:read";
|
|
22
|
+
readonly SubscriptionsRead: "subscriptions:read";
|
|
23
|
+
readonly SubscriptionAdjustmentsRead: "subscriptionAdjustments:read";
|
|
24
|
+
readonly DiscountsRead: "discounts:read";
|
|
25
|
+
readonly GrantsRead: "grants:read";
|
|
26
|
+
readonly EntitlementsRead: "entitlements:read";
|
|
27
|
+
readonly CreditPoolsRead: "creditPools:read";
|
|
28
|
+
readonly OrdersRead: "orders:read";
|
|
29
|
+
readonly BillingSchedulesRead: "billingSchedules:read";
|
|
30
|
+
readonly InvoicesRead: "invoices:read";
|
|
31
|
+
readonly PaymentsRead: "payments:read";
|
|
32
|
+
readonly PaymentSessionsRead: "paymentSessions:read";
|
|
33
|
+
readonly PortalSessionsRead: "portalSessions:read";
|
|
34
|
+
readonly PlatformUsersRead: "platformUsers:read";
|
|
35
|
+
readonly PlatformAdminRead: "platformAdmin:read";
|
|
36
|
+
readonly LoginLockoutRead: "loginLockout:read";
|
|
37
|
+
readonly PlatformSystemRead: "platformSystem:read";
|
|
38
|
+
readonly OrganizationCreationRead: "organizationCreation:read";
|
|
39
|
+
readonly ComplianceRead: "compliance:read";
|
|
40
|
+
readonly TaxSettingsRead: "taxSettings:read";
|
|
41
|
+
readonly CostsRead: "costs:read";
|
|
42
|
+
readonly PaymentAccountsRead: "paymentAccounts:read";
|
|
43
|
+
readonly PayoutsRead: "payouts:read";
|
|
44
|
+
readonly ExternalAccountsRead: "externalAccounts:read";
|
|
45
|
+
readonly ExternalReferencesRead: "externalReferences:read";
|
|
46
|
+
readonly MerchantIntegrationsRead: "merchantIntegrations:read";
|
|
47
|
+
readonly WebhooksRead: "webhooks:read";
|
|
48
|
+
readonly TestClocksRead: "testClocks:read";
|
|
49
|
+
readonly ApprovalsRead: "approvals:read";
|
|
50
|
+
readonly SourcesRead: "sources:read";
|
|
51
|
+
readonly RevenueRead: "revenue:read";
|
|
52
|
+
readonly OrganizationWrite: "organization:write";
|
|
53
|
+
readonly MembersWrite: "members:write";
|
|
54
|
+
readonly ProfileWrite: "profile:write";
|
|
55
|
+
readonly ApiKeysWrite: "apiKeys:write";
|
|
56
|
+
readonly MerchantsWrite: "merchants:write";
|
|
57
|
+
readonly ConsumersWrite: "consumers:write";
|
|
58
|
+
readonly CustomersWrite: "customers:write";
|
|
59
|
+
readonly PlansWrite: "plans:write";
|
|
60
|
+
readonly PricesWrite: "prices:write";
|
|
61
|
+
readonly ProductsWrite: "products:write";
|
|
62
|
+
readonly FeaturesWrite: "features:write";
|
|
63
|
+
readonly FeesWrite: "fees:write";
|
|
64
|
+
readonly BillableMetricsWrite: "billableMetrics:write";
|
|
65
|
+
readonly ItemsWrite: "items:write";
|
|
66
|
+
readonly PricingUnitsWrite: "pricingUnits:write";
|
|
67
|
+
readonly SubscriptionsWrite: "subscriptions:write";
|
|
68
|
+
readonly SubscriptionAdjustmentsWrite: "subscriptionAdjustments:write";
|
|
69
|
+
readonly DiscountsWrite: "discounts:write";
|
|
70
|
+
readonly GrantsWrite: "grants:write";
|
|
71
|
+
readonly EntitlementsWrite: "entitlements:write";
|
|
72
|
+
readonly CreditPoolsWrite: "creditPools:write";
|
|
73
|
+
readonly OrdersWrite: "orders:write";
|
|
74
|
+
readonly BillingSchedulesWrite: "billingSchedules:write";
|
|
75
|
+
readonly InvoicesWrite: "invoices:write";
|
|
76
|
+
readonly PaymentsWrite: "payments:write";
|
|
77
|
+
readonly PaymentSessionsWrite: "paymentSessions:write";
|
|
78
|
+
readonly PortalSessionsWrite: "portalSessions:write";
|
|
79
|
+
readonly PlatformUsersWrite: "platformUsers:write";
|
|
80
|
+
readonly PlatformAdminWrite: "platformAdmin:write";
|
|
81
|
+
readonly LoginLockoutWrite: "loginLockout:write";
|
|
82
|
+
readonly PlatformSystemWrite: "platformSystem:write";
|
|
83
|
+
readonly OrganizationCreationWrite: "organizationCreation:write";
|
|
84
|
+
readonly ComplianceWrite: "compliance:write";
|
|
85
|
+
readonly TaxSettingsWrite: "taxSettings:write";
|
|
86
|
+
readonly CostsWrite: "costs:write";
|
|
87
|
+
readonly PaymentAccountsWrite: "paymentAccounts:write";
|
|
88
|
+
readonly PayoutsWrite: "payouts:write";
|
|
89
|
+
readonly ExternalAccountsWrite: "externalAccounts:write";
|
|
90
|
+
readonly ExternalReferencesWrite: "externalReferences:write";
|
|
91
|
+
readonly MerchantIntegrationsWrite: "merchantIntegrations:write";
|
|
92
|
+
readonly WebhooksWrite: "webhooks:write";
|
|
93
|
+
readonly TestClocksWrite: "testClocks:write";
|
|
94
|
+
readonly ApprovalsWrite: "approvals:write";
|
|
95
|
+
readonly SourcesWrite: "sources:write";
|
|
96
|
+
readonly EventsWrite: "events:write";
|
|
97
|
+
readonly InvoicesIssue: "invoices:issue";
|
|
98
|
+
readonly InvoicesVoid: "invoices:void";
|
|
99
|
+
readonly PaymentsRefund: "payments:refund";
|
|
100
|
+
readonly OrganizationDelete: "organization:delete";
|
|
101
|
+
readonly OwnershipTransfer: "ownership:transfer";
|
|
102
|
+
readonly SubscriptionsTerminate: "subscriptions:terminate";
|
|
103
|
+
readonly SubscriptionsTerminateWithReason: "subscriptions:terminateWithReason";
|
|
104
|
+
readonly SubscriptionsReconcile: "subscriptions:reconcile";
|
|
105
|
+
readonly SubscriptionsUpdate: "subscriptions:update";
|
|
106
|
+
readonly SubscriptionsDelete: "subscriptions:delete";
|
|
107
|
+
readonly SubscriptionsTaxExempt: "subscriptions:taxExempt";
|
|
108
|
+
readonly SubscriptionsAutoApprove: "subscriptions:autoApprove";
|
|
109
|
+
readonly OrganizationResetData: "organization:resetData";
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* A permission of the catalog: a resource read or write, or a sensitive action.
|
|
113
|
+
*/
|
|
114
|
+
export type Permission = ClosedEnum<typeof Permission>;
|
|
115
|
+
/** @internal */
|
|
116
|
+
export declare const Permission$inboundSchema: z.ZodNativeEnum<typeof Permission>;
|
|
117
|
+
//# sourceMappingURL=permission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../src/models/permission.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGb,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,UAAU,CAC/C,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Permission$inboundSchema = exports.Permission = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* A permission of the catalog: a resource read or write, or a sensitive action.
|
|
43
|
+
*/
|
|
44
|
+
exports.Permission = {
|
|
45
|
+
OrganizationRead: "organization:read",
|
|
46
|
+
MembersRead: "members:read",
|
|
47
|
+
ProfileRead: "profile:read",
|
|
48
|
+
ApiKeysRead: "apiKeys:read",
|
|
49
|
+
MerchantsRead: "merchants:read",
|
|
50
|
+
ConsumersRead: "consumers:read",
|
|
51
|
+
CustomersRead: "customers:read",
|
|
52
|
+
PlansRead: "plans:read",
|
|
53
|
+
PricesRead: "prices:read",
|
|
54
|
+
ProductsRead: "products:read",
|
|
55
|
+
FeaturesRead: "features:read",
|
|
56
|
+
FeesRead: "fees:read",
|
|
57
|
+
BillableMetricsRead: "billableMetrics:read",
|
|
58
|
+
ItemsRead: "items:read",
|
|
59
|
+
PricingUnitsRead: "pricingUnits:read",
|
|
60
|
+
SubscriptionsRead: "subscriptions:read",
|
|
61
|
+
SubscriptionAdjustmentsRead: "subscriptionAdjustments:read",
|
|
62
|
+
DiscountsRead: "discounts:read",
|
|
63
|
+
GrantsRead: "grants:read",
|
|
64
|
+
EntitlementsRead: "entitlements:read",
|
|
65
|
+
CreditPoolsRead: "creditPools:read",
|
|
66
|
+
OrdersRead: "orders:read",
|
|
67
|
+
BillingSchedulesRead: "billingSchedules:read",
|
|
68
|
+
InvoicesRead: "invoices:read",
|
|
69
|
+
PaymentsRead: "payments:read",
|
|
70
|
+
PaymentSessionsRead: "paymentSessions:read",
|
|
71
|
+
PortalSessionsRead: "portalSessions:read",
|
|
72
|
+
PlatformUsersRead: "platformUsers:read",
|
|
73
|
+
PlatformAdminRead: "platformAdmin:read",
|
|
74
|
+
LoginLockoutRead: "loginLockout:read",
|
|
75
|
+
PlatformSystemRead: "platformSystem:read",
|
|
76
|
+
OrganizationCreationRead: "organizationCreation:read",
|
|
77
|
+
ComplianceRead: "compliance:read",
|
|
78
|
+
TaxSettingsRead: "taxSettings:read",
|
|
79
|
+
CostsRead: "costs:read",
|
|
80
|
+
PaymentAccountsRead: "paymentAccounts:read",
|
|
81
|
+
PayoutsRead: "payouts:read",
|
|
82
|
+
ExternalAccountsRead: "externalAccounts:read",
|
|
83
|
+
ExternalReferencesRead: "externalReferences:read",
|
|
84
|
+
MerchantIntegrationsRead: "merchantIntegrations:read",
|
|
85
|
+
WebhooksRead: "webhooks:read",
|
|
86
|
+
TestClocksRead: "testClocks:read",
|
|
87
|
+
ApprovalsRead: "approvals:read",
|
|
88
|
+
SourcesRead: "sources:read",
|
|
89
|
+
RevenueRead: "revenue:read",
|
|
90
|
+
OrganizationWrite: "organization:write",
|
|
91
|
+
MembersWrite: "members:write",
|
|
92
|
+
ProfileWrite: "profile:write",
|
|
93
|
+
ApiKeysWrite: "apiKeys:write",
|
|
94
|
+
MerchantsWrite: "merchants:write",
|
|
95
|
+
ConsumersWrite: "consumers:write",
|
|
96
|
+
CustomersWrite: "customers:write",
|
|
97
|
+
PlansWrite: "plans:write",
|
|
98
|
+
PricesWrite: "prices:write",
|
|
99
|
+
ProductsWrite: "products:write",
|
|
100
|
+
FeaturesWrite: "features:write",
|
|
101
|
+
FeesWrite: "fees:write",
|
|
102
|
+
BillableMetricsWrite: "billableMetrics:write",
|
|
103
|
+
ItemsWrite: "items:write",
|
|
104
|
+
PricingUnitsWrite: "pricingUnits:write",
|
|
105
|
+
SubscriptionsWrite: "subscriptions:write",
|
|
106
|
+
SubscriptionAdjustmentsWrite: "subscriptionAdjustments:write",
|
|
107
|
+
DiscountsWrite: "discounts:write",
|
|
108
|
+
GrantsWrite: "grants:write",
|
|
109
|
+
EntitlementsWrite: "entitlements:write",
|
|
110
|
+
CreditPoolsWrite: "creditPools:write",
|
|
111
|
+
OrdersWrite: "orders:write",
|
|
112
|
+
BillingSchedulesWrite: "billingSchedules:write",
|
|
113
|
+
InvoicesWrite: "invoices:write",
|
|
114
|
+
PaymentsWrite: "payments:write",
|
|
115
|
+
PaymentSessionsWrite: "paymentSessions:write",
|
|
116
|
+
PortalSessionsWrite: "portalSessions:write",
|
|
117
|
+
PlatformUsersWrite: "platformUsers:write",
|
|
118
|
+
PlatformAdminWrite: "platformAdmin:write",
|
|
119
|
+
LoginLockoutWrite: "loginLockout:write",
|
|
120
|
+
PlatformSystemWrite: "platformSystem:write",
|
|
121
|
+
OrganizationCreationWrite: "organizationCreation:write",
|
|
122
|
+
ComplianceWrite: "compliance:write",
|
|
123
|
+
TaxSettingsWrite: "taxSettings:write",
|
|
124
|
+
CostsWrite: "costs:write",
|
|
125
|
+
PaymentAccountsWrite: "paymentAccounts:write",
|
|
126
|
+
PayoutsWrite: "payouts:write",
|
|
127
|
+
ExternalAccountsWrite: "externalAccounts:write",
|
|
128
|
+
ExternalReferencesWrite: "externalReferences:write",
|
|
129
|
+
MerchantIntegrationsWrite: "merchantIntegrations:write",
|
|
130
|
+
WebhooksWrite: "webhooks:write",
|
|
131
|
+
TestClocksWrite: "testClocks:write",
|
|
132
|
+
ApprovalsWrite: "approvals:write",
|
|
133
|
+
SourcesWrite: "sources:write",
|
|
134
|
+
EventsWrite: "events:write",
|
|
135
|
+
InvoicesIssue: "invoices:issue",
|
|
136
|
+
InvoicesVoid: "invoices:void",
|
|
137
|
+
PaymentsRefund: "payments:refund",
|
|
138
|
+
OrganizationDelete: "organization:delete",
|
|
139
|
+
OwnershipTransfer: "ownership:transfer",
|
|
140
|
+
SubscriptionsTerminate: "subscriptions:terminate",
|
|
141
|
+
SubscriptionsTerminateWithReason: "subscriptions:terminateWithReason",
|
|
142
|
+
SubscriptionsReconcile: "subscriptions:reconcile",
|
|
143
|
+
SubscriptionsUpdate: "subscriptions:update",
|
|
144
|
+
SubscriptionsDelete: "subscriptions:delete",
|
|
145
|
+
SubscriptionsTaxExempt: "subscriptions:taxExempt",
|
|
146
|
+
SubscriptionsAutoApprove: "subscriptions:autoApprove",
|
|
147
|
+
OrganizationResetData: "organization:resetData",
|
|
148
|
+
};
|
|
149
|
+
/** @internal */
|
|
150
|
+
exports.Permission$inboundSchema = z
|
|
151
|
+
.nativeEnum(exports.Permission);
|
|
152
|
+
//# sourceMappingURL=permission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../../src/models/permission.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;IAC/B,aAAa,EAAE,gBAAgB;IAC/B,aAAa,EAAE,gBAAgB;IAC/B,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,eAAe;IAC7B,YAAY,EAAE,eAAe;IAC7B,QAAQ,EAAE,WAAW;IACrB,mBAAmB,EAAE,sBAAsB;IAC3C,SAAS,EAAE,YAAY;IACvB,gBAAgB,EAAE,mBAAmB;IACrC,iBAAiB,EAAE,oBAAoB;IACvC,2BAA2B,EAAE,8BAA8B;IAC3D,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;IACrC,eAAe,EAAE,kBAAkB;IACnC,UAAU,EAAE,aAAa;IACzB,oBAAoB,EAAE,uBAAuB;IAC7C,YAAY,EAAE,eAAe;IAC7B,YAAY,EAAE,eAAe;IAC7B,mBAAmB,EAAE,sBAAsB;IAC3C,kBAAkB,EAAE,qBAAqB;IACzC,iBAAiB,EAAE,oBAAoB;IACvC,iBAAiB,EAAE,oBAAoB;IACvC,gBAAgB,EAAE,mBAAmB;IACrC,kBAAkB,EAAE,qBAAqB;IACzC,wBAAwB,EAAE,2BAA2B;IACrD,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,kBAAkB;IACnC,SAAS,EAAE,YAAY;IACvB,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,oBAAoB,EAAE,uBAAuB;IAC7C,YAAY,EAAE,eAAe;IAC7B,qBAAqB,EAAE,wBAAwB;IAC/C,uBAAuB,EAAE,0BAA0B;IACnD,yBAAyB,EAAE,4BAA4B;IACvD,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;IAC/B,YAAY,EAAE,eAAe;IAC7B,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,qBAAqB;IACzC,iBAAiB,EAAE,oBAAoB;IACvC,sBAAsB,EAAE,yBAAyB;IACjD,gCAAgC,EAAE,mCAAmC;IACrE,sBAAsB,EAAE,yBAAyB;IACjD,mBAAmB,EAAE,sBAAsB;IAC3C,mBAAmB,EAAE,sBAAsB;IAC3C,sBAAsB,EAAE,yBAAyB;IACjD,wBAAwB,EAAE,2BAA2B;IACrD,qBAAqB,EAAE,wBAAwB;CACvC,CAAC;AAMX,gBAAgB;AACH,QAAA,wBAAwB,GAAuC,CAAC;KAC1E,UAAU,CAAC,kBAAU,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type RevenueAccountRow = {
|
|
|
16
16
|
*/
|
|
17
17
|
currency: string;
|
|
18
18
|
/**
|
|
19
|
-
* What is owed, gross of tax, from any date. `awaitingPayment` and `paymentFailed` add up to it, in count and amount.
|
|
19
|
+
* What is owed, gross of tax, from any date. `awaitingPayment` and `paymentFailed` add up to it, in count and amount. `overdue` is a part of `awaitingPayment`.
|
|
20
20
|
*/
|
|
21
21
|
outstanding: OutstandingBlock;
|
|
22
22
|
};
|