@schematichq/schematic-typescript-node 1.1.0 → 1.1.2
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 -11
- package/api/resources/accesstokens/client/Client.js +1 -1
- package/api/resources/accounts/client/Client.js +14 -14
- package/api/resources/billing/client/Client.js +8 -8
- package/api/resources/companies/client/Client.js +32 -32
- package/api/resources/components/client/Client.d.ts +0 -1
- package/api/resources/components/client/Client.js +7 -8
- package/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -2
- package/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/api/resources/crm/client/Client.js +5 -5
- package/api/resources/entitlements/client/Client.js +19 -19
- package/api/resources/events/client/Client.js +8 -8
- package/api/resources/features/client/Client.js +19 -19
- package/api/resources/plans/client/Client.js +18 -12
- package/api/resources/plans/client/requests/CountPlansRequest.d.ts +5 -0
- package/api/resources/plans/client/requests/ListPlansRequest.d.ts +5 -0
- package/api/resources/plans/types/CountPlansParams.d.ts +3 -0
- package/api/resources/plans/types/CountPlansRequestPlanType.d.ts +11 -0
- package/api/resources/plans/types/CountPlansRequestPlanType.js +10 -0
- package/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +11 -0
- package/api/resources/plans/types/CountPlansResponseParamsPlanType.js +10 -0
- package/api/resources/plans/types/ListPlansParams.d.ts +3 -0
- package/api/resources/plans/types/ListPlansRequestPlanType.d.ts +11 -0
- package/api/resources/plans/types/ListPlansRequestPlanType.js +10 -0
- package/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +11 -0
- package/api/resources/plans/types/ListPlansResponseParamsPlanType.js +10 -0
- package/api/resources/plans/types/index.d.ts +4 -0
- package/api/resources/plans/types/index.js +4 -0
- package/api/resources/webhooks/client/Client.js +9 -9
- package/api/types/ComponentResponseData.d.ts +1 -1
- package/dist/api/resources/accesstokens/client/Client.js +1 -1
- package/dist/api/resources/accounts/client/Client.js +14 -14
- package/dist/api/resources/billing/client/Client.js +8 -8
- package/dist/api/resources/companies/client/Client.js +32 -32
- package/dist/api/resources/components/client/Client.d.ts +0 -1
- package/dist/api/resources/components/client/Client.js +7 -8
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -2
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/dist/api/resources/crm/client/Client.js +5 -5
- package/dist/api/resources/entitlements/client/Client.js +19 -19
- package/dist/api/resources/events/client/Client.js +8 -8
- package/dist/api/resources/features/client/Client.js +19 -19
- package/dist/api/resources/plans/client/Client.js +18 -12
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +5 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +5 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +3 -0
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +11 -0
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.js +10 -0
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +11 -0
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.js +10 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +3 -0
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +11 -0
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.js +10 -0
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +11 -0
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.js +10 -0
- package/dist/api/resources/plans/types/index.d.ts +4 -0
- package/dist/api/resources/plans/types/index.js +4 -0
- package/dist/api/resources/webhooks/client/Client.js +9 -9
- package/dist/api/types/ComponentResponseData.d.ts +1 -1
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -1
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js +1 -1
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +1 -1
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.js +2 -0
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +10 -0
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.js +31 -0
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +10 -0
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +31 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.js +2 -0
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +10 -0
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.js +31 -0
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +10 -0
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +31 -0
- package/dist/serialization/resources/plans/types/index.d.ts +4 -0
- package/dist/serialization/resources/plans/types/index.js +4 -0
- package/dist/serialization/types/ComponentResponseData.d.ts +1 -1
- package/dist/serialization/types/ComponentResponseData.js +1 -1
- package/dist/wrapper.d.ts +2 -1
- package/dist/wrapper.js +3 -6
- package/package.json +10 -13
- package/reference.md +0 -1
- package/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +1 -1
- package/serialization/resources/components/client/requests/CreateComponentRequestBody.js +1 -1
- package/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +1 -1
- package/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +1 -1
- package/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/serialization/resources/plans/types/CountPlansParams.js +2 -0
- package/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +10 -0
- package/serialization/resources/plans/types/CountPlansRequestPlanType.js +31 -0
- package/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +10 -0
- package/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +31 -0
- package/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/serialization/resources/plans/types/ListPlansParams.js +2 -0
- package/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +10 -0
- package/serialization/resources/plans/types/ListPlansRequestPlanType.js +31 -0
- package/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +10 -0
- package/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +31 -0
- package/serialization/resources/plans/types/index.d.ts +4 -0
- package/serialization/resources/plans/types/index.js +4 -0
- package/serialization/types/ComponentResponseData.d.ts +1 -1
- package/serialization/types/ComponentResponseData.js +1 -1
- package/wrapper.d.ts +2 -1
- package/wrapper.js +3 -6
- package/.husky/pre-commit +0 -1
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/generate-version.js +0 -6
- package/version.d.ts +0 -1
- package/version.js +0 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {}
|
|
@@ -9,6 +10,10 @@ export interface CountPlansRequest {
|
|
|
9
10
|
companyId?: string;
|
|
10
11
|
ids?: string | string[];
|
|
11
12
|
q?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Filter by plan type
|
|
15
|
+
*/
|
|
16
|
+
planType?: Schematic.CountPlansRequestPlanType;
|
|
12
17
|
/**
|
|
13
18
|
* Filter out plans that already have a plan entitlement for the specified feature ID
|
|
14
19
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {}
|
|
@@ -9,6 +10,10 @@ export interface ListPlansRequest {
|
|
|
9
10
|
companyId?: string;
|
|
10
11
|
ids?: string | string[];
|
|
11
12
|
q?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Filter by plan type
|
|
15
|
+
*/
|
|
16
|
+
planType?: Schematic.ListPlansRequestPlanType;
|
|
12
17
|
/**
|
|
13
18
|
* Filter out plans that already have a plan entitlement for the specified feature ID
|
|
14
19
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* Input parameters
|
|
6
7
|
*/
|
|
@@ -11,6 +12,8 @@ export interface CountPlansParams {
|
|
|
11
12
|
limit?: number;
|
|
12
13
|
/** Page offset (default 0) */
|
|
13
14
|
offset?: number;
|
|
15
|
+
/** Filter by plan type */
|
|
16
|
+
planType?: Schematic.CountPlansResponseParamsPlanType;
|
|
14
17
|
q?: string;
|
|
15
18
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
16
19
|
withoutEntitlementFor?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Filter by plan type
|
|
6
|
+
*/
|
|
7
|
+
export declare type CountPlansRequestPlanType = "plan" | "add_on";
|
|
8
|
+
export declare const CountPlansRequestPlanType: {
|
|
9
|
+
readonly Plan: "plan";
|
|
10
|
+
readonly AddOn: "add_on";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CountPlansRequestPlanType = void 0;
|
|
7
|
+
exports.CountPlansRequestPlanType = {
|
|
8
|
+
Plan: "plan",
|
|
9
|
+
AddOn: "add_on",
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Filter by plan type
|
|
6
|
+
*/
|
|
7
|
+
export declare type CountPlansResponseParamsPlanType = "plan" | "add_on";
|
|
8
|
+
export declare const CountPlansResponseParamsPlanType: {
|
|
9
|
+
readonly Plan: "plan";
|
|
10
|
+
readonly AddOn: "add_on";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CountPlansResponseParamsPlanType = void 0;
|
|
7
|
+
exports.CountPlansResponseParamsPlanType = {
|
|
8
|
+
Plan: "plan",
|
|
9
|
+
AddOn: "add_on",
|
|
10
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* Input parameters
|
|
6
7
|
*/
|
|
@@ -11,6 +12,8 @@ export interface ListPlansParams {
|
|
|
11
12
|
limit?: number;
|
|
12
13
|
/** Page offset (default 0) */
|
|
13
14
|
offset?: number;
|
|
15
|
+
/** Filter by plan type */
|
|
16
|
+
planType?: Schematic.ListPlansResponseParamsPlanType;
|
|
14
17
|
q?: string;
|
|
15
18
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
16
19
|
withoutEntitlementFor?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Filter by plan type
|
|
6
|
+
*/
|
|
7
|
+
export declare type ListPlansRequestPlanType = "plan" | "add_on";
|
|
8
|
+
export declare const ListPlansRequestPlanType: {
|
|
9
|
+
readonly Plan: "plan";
|
|
10
|
+
readonly AddOn: "add_on";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ListPlansRequestPlanType = void 0;
|
|
7
|
+
exports.ListPlansRequestPlanType = {
|
|
8
|
+
Plan: "plan",
|
|
9
|
+
AddOn: "add_on",
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Filter by plan type
|
|
6
|
+
*/
|
|
7
|
+
export declare type ListPlansResponseParamsPlanType = "plan" | "add_on";
|
|
8
|
+
export declare const ListPlansResponseParamsPlanType: {
|
|
9
|
+
readonly Plan: "plan";
|
|
10
|
+
readonly AddOn: "add_on";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ListPlansResponseParamsPlanType = void 0;
|
|
7
|
+
exports.ListPlansResponseParamsPlanType = {
|
|
8
|
+
Plan: "plan",
|
|
9
|
+
AddOn: "add_on",
|
|
10
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./GetAudienceResponse";
|
|
2
2
|
export * from "./UpdateAudienceResponse";
|
|
3
3
|
export * from "./DeleteAudienceResponse";
|
|
4
|
+
export * from "./ListPlansRequestPlanType";
|
|
5
|
+
export * from "./ListPlansResponseParamsPlanType";
|
|
4
6
|
export * from "./ListPlansParams";
|
|
5
7
|
export * from "./ListPlansResponse";
|
|
6
8
|
export * from "./CreatePlanRequestBodyPlanType";
|
|
@@ -9,5 +11,7 @@ export * from "./GetPlanResponse";
|
|
|
9
11
|
export * from "./UpdatePlanResponse";
|
|
10
12
|
export * from "./DeletePlanResponse";
|
|
11
13
|
export * from "./UpsertBillingProductPlanResponse";
|
|
14
|
+
export * from "./CountPlansRequestPlanType";
|
|
15
|
+
export * from "./CountPlansResponseParamsPlanType";
|
|
12
16
|
export * from "./CountPlansParams";
|
|
13
17
|
export * from "./CountPlansResponse";
|
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./GetAudienceResponse"), exports);
|
|
18
18
|
__exportStar(require("./UpdateAudienceResponse"), exports);
|
|
19
19
|
__exportStar(require("./DeleteAudienceResponse"), exports);
|
|
20
|
+
__exportStar(require("./ListPlansRequestPlanType"), exports);
|
|
21
|
+
__exportStar(require("./ListPlansResponseParamsPlanType"), exports);
|
|
20
22
|
__exportStar(require("./ListPlansParams"), exports);
|
|
21
23
|
__exportStar(require("./ListPlansResponse"), exports);
|
|
22
24
|
__exportStar(require("./CreatePlanRequestBodyPlanType"), exports);
|
|
@@ -25,5 +27,7 @@ __exportStar(require("./GetPlanResponse"), exports);
|
|
|
25
27
|
__exportStar(require("./UpdatePlanResponse"), exports);
|
|
26
28
|
__exportStar(require("./DeletePlanResponse"), exports);
|
|
27
29
|
__exportStar(require("./UpsertBillingProductPlanResponse"), exports);
|
|
30
|
+
__exportStar(require("./CountPlansRequestPlanType"), exports);
|
|
31
|
+
__exportStar(require("./CountPlansResponseParamsPlanType"), exports);
|
|
28
32
|
__exportStar(require("./CountPlansParams"), exports);
|
|
29
33
|
__exportStar(require("./CountPlansResponse"), exports);
|
|
@@ -89,7 +89,7 @@ class Webhooks {
|
|
|
89
89
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
90
90
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "webhook-events"),
|
|
91
91
|
method: "GET",
|
|
92
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
92
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
93
93
|
contentType: "application/json",
|
|
94
94
|
queryParameters: _queryParams,
|
|
95
95
|
requestType: "json",
|
|
@@ -180,7 +180,7 @@ class Webhooks {
|
|
|
180
180
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
181
181
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `webhook-events/${encodeURIComponent(webhookEventId)}`),
|
|
182
182
|
method: "GET",
|
|
183
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
183
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
184
184
|
contentType: "application/json",
|
|
185
185
|
requestType: "json",
|
|
186
186
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -292,7 +292,7 @@ class Webhooks {
|
|
|
292
292
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
293
293
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "webhook-events/count"),
|
|
294
294
|
method: "GET",
|
|
295
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
295
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
296
296
|
contentType: "application/json",
|
|
297
297
|
queryParameters: _queryParams,
|
|
298
298
|
requestType: "json",
|
|
@@ -394,7 +394,7 @@ class Webhooks {
|
|
|
394
394
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
395
395
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "webhooks"),
|
|
396
396
|
method: "GET",
|
|
397
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
397
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
398
398
|
contentType: "application/json",
|
|
399
399
|
queryParameters: _queryParams,
|
|
400
400
|
requestType: "json",
|
|
@@ -489,7 +489,7 @@ class Webhooks {
|
|
|
489
489
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
490
490
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "webhooks"),
|
|
491
491
|
method: "POST",
|
|
492
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
492
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
493
493
|
contentType: "application/json",
|
|
494
494
|
requestType: "json",
|
|
495
495
|
body: serializers.CreateWebhookRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -580,7 +580,7 @@ class Webhooks {
|
|
|
580
580
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
581
581
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `webhooks/${encodeURIComponent(webhookId)}`),
|
|
582
582
|
method: "GET",
|
|
583
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
583
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
584
584
|
contentType: "application/json",
|
|
585
585
|
requestType: "json",
|
|
586
586
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -672,7 +672,7 @@ class Webhooks {
|
|
|
672
672
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
673
673
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `webhooks/${encodeURIComponent(webhookId)}`),
|
|
674
674
|
method: "PUT",
|
|
675
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
675
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
676
676
|
contentType: "application/json",
|
|
677
677
|
requestType: "json",
|
|
678
678
|
body: serializers.UpdateWebhookRequestBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -771,7 +771,7 @@ class Webhooks {
|
|
|
771
771
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
772
772
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, `webhooks/${encodeURIComponent(webhookId)}`),
|
|
773
773
|
method: "DELETE",
|
|
774
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
774
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
775
775
|
contentType: "application/json",
|
|
776
776
|
requestType: "json",
|
|
777
777
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -872,7 +872,7 @@ class Webhooks {
|
|
|
872
872
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
873
873
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.SchematicEnvironment.Default, "webhooks/count"),
|
|
874
874
|
method: "GET",
|
|
875
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.
|
|
875
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@schematichq/schematic-typescript-node", "X-Fern-SDK-Version": "1.1.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
876
876
|
contentType: "application/json",
|
|
877
877
|
queryParameters: _queryParams,
|
|
878
878
|
requestType: "json",
|
package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { CreateComponentRequestBodyEntityType } from "../../types/CreateComponen
|
|
|
8
8
|
export declare const CreateComponentRequestBody: core.serialization.Schema<serializers.CreateComponentRequestBody.Raw, Schematic.CreateComponentRequestBody>;
|
|
9
9
|
export declare namespace CreateComponentRequestBody {
|
|
10
10
|
interface Raw {
|
|
11
|
-
ast
|
|
11
|
+
ast?: Record<string, number> | null;
|
|
12
12
|
entity_type: CreateComponentRequestBodyEntityType.Raw;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js
CHANGED
|
@@ -30,7 +30,7 @@ exports.CreateComponentRequestBody = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const CreateComponentRequestBodyEntityType_1 = require("../../types/CreateComponentRequestBodyEntityType");
|
|
32
32
|
exports.CreateComponentRequestBody = core.serialization.object({
|
|
33
|
-
ast: core.serialization.
|
|
33
|
+
ast: core.serialization.record(core.serialization.string(), core.serialization.number()).optional(),
|
|
34
34
|
entityType: core.serialization.property("entity_type", CreateComponentRequestBodyEntityType_1.CreateComponentRequestBodyEntityType),
|
|
35
35
|
name: core.serialization.string(),
|
|
36
36
|
});
|
package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { UpdateComponentRequestBodyState } from "../../types/UpdateComponentRequ
|
|
|
9
9
|
export declare const UpdateComponentRequestBody: core.serialization.Schema<serializers.UpdateComponentRequestBody.Raw, Schematic.UpdateComponentRequestBody>;
|
|
10
10
|
export declare namespace UpdateComponentRequestBody {
|
|
11
11
|
interface Raw {
|
|
12
|
-
ast?: number
|
|
12
|
+
ast?: Record<string, number> | null;
|
|
13
13
|
entity_type?: UpdateComponentRequestBodyEntityType.Raw | null;
|
|
14
14
|
name?: string | null;
|
|
15
15
|
state?: UpdateComponentRequestBodyState.Raw | null;
|
package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js
CHANGED
|
@@ -31,7 +31,7 @@ const core = __importStar(require("../../../../../core"));
|
|
|
31
31
|
const UpdateComponentRequestBodyEntityType_1 = require("../../types/UpdateComponentRequestBodyEntityType");
|
|
32
32
|
const UpdateComponentRequestBodyState_1 = require("../../types/UpdateComponentRequestBodyState");
|
|
33
33
|
exports.UpdateComponentRequestBody = core.serialization.object({
|
|
34
|
-
ast: core.serialization.
|
|
34
|
+
ast: core.serialization.record(core.serialization.string(), core.serialization.number()).optional(),
|
|
35
35
|
entityType: core.serialization.property("entity_type", UpdateComponentRequestBodyEntityType_1.UpdateComponentRequestBodyEntityType.optional()),
|
|
36
36
|
name: core.serialization.string().optional(),
|
|
37
37
|
state: UpdateComponentRequestBodyState_1.UpdateComponentRequestBodyState.optional(),
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { CountPlansResponseParamsPlanType } from "./CountPlansResponseParamsPlanType";
|
|
7
8
|
export declare const CountPlansParams: core.serialization.ObjectSchema<serializers.CountPlansParams.Raw, Schematic.CountPlansParams>;
|
|
8
9
|
export declare namespace CountPlansParams {
|
|
9
10
|
interface Raw {
|
|
@@ -11,6 +12,7 @@ export declare namespace CountPlansParams {
|
|
|
11
12
|
ids?: string[] | null;
|
|
12
13
|
limit?: number | null;
|
|
13
14
|
offset?: number | null;
|
|
15
|
+
plan_type?: CountPlansResponseParamsPlanType.Raw | null;
|
|
14
16
|
q?: string | null;
|
|
15
17
|
without_entitlement_for?: string | null;
|
|
16
18
|
}
|
|
@@ -28,11 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.CountPlansParams = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const CountPlansResponseParamsPlanType_1 = require("./CountPlansResponseParamsPlanType");
|
|
31
32
|
exports.CountPlansParams = core.serialization.object({
|
|
32
33
|
companyId: core.serialization.property("company_id", core.serialization.string().optional()),
|
|
33
34
|
ids: core.serialization.list(core.serialization.string()).optional(),
|
|
34
35
|
limit: core.serialization.number().optional(),
|
|
35
36
|
offset: core.serialization.number().optional(),
|
|
37
|
+
planType: core.serialization.property("plan_type", CountPlansResponseParamsPlanType_1.CountPlansResponseParamsPlanType.optional()),
|
|
36
38
|
q: core.serialization.string().optional(),
|
|
37
39
|
withoutEntitlementFor: core.serialization.property("without_entitlement_for", core.serialization.string().optional()),
|
|
38
40
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CountPlansRequestPlanType: core.serialization.Schema<serializers.CountPlansRequestPlanType.Raw, Schematic.CountPlansRequestPlanType>;
|
|
8
|
+
export declare namespace CountPlansRequestPlanType {
|
|
9
|
+
type Raw = "plan" | "add_on";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CountPlansRequestPlanType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.CountPlansRequestPlanType = core.serialization.enum_(["plan", "add_on"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CountPlansResponseParamsPlanType: core.serialization.Schema<serializers.CountPlansResponseParamsPlanType.Raw, Schematic.CountPlansResponseParamsPlanType>;
|
|
8
|
+
export declare namespace CountPlansResponseParamsPlanType {
|
|
9
|
+
type Raw = "plan" | "add_on";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CountPlansResponseParamsPlanType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.CountPlansResponseParamsPlanType = core.serialization.enum_(["plan", "add_on"]);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { ListPlansResponseParamsPlanType } from "./ListPlansResponseParamsPlanType";
|
|
7
8
|
export declare const ListPlansParams: core.serialization.ObjectSchema<serializers.ListPlansParams.Raw, Schematic.ListPlansParams>;
|
|
8
9
|
export declare namespace ListPlansParams {
|
|
9
10
|
interface Raw {
|
|
@@ -11,6 +12,7 @@ export declare namespace ListPlansParams {
|
|
|
11
12
|
ids?: string[] | null;
|
|
12
13
|
limit?: number | null;
|
|
13
14
|
offset?: number | null;
|
|
15
|
+
plan_type?: ListPlansResponseParamsPlanType.Raw | null;
|
|
14
16
|
q?: string | null;
|
|
15
17
|
without_entitlement_for?: string | null;
|
|
16
18
|
}
|
|
@@ -28,11 +28,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ListPlansParams = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ListPlansResponseParamsPlanType_1 = require("./ListPlansResponseParamsPlanType");
|
|
31
32
|
exports.ListPlansParams = core.serialization.object({
|
|
32
33
|
companyId: core.serialization.property("company_id", core.serialization.string().optional()),
|
|
33
34
|
ids: core.serialization.list(core.serialization.string()).optional(),
|
|
34
35
|
limit: core.serialization.number().optional(),
|
|
35
36
|
offset: core.serialization.number().optional(),
|
|
37
|
+
planType: core.serialization.property("plan_type", ListPlansResponseParamsPlanType_1.ListPlansResponseParamsPlanType.optional()),
|
|
36
38
|
q: core.serialization.string().optional(),
|
|
37
39
|
withoutEntitlementFor: core.serialization.property("without_entitlement_for", core.serialization.string().optional()),
|
|
38
40
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ListPlansRequestPlanType: core.serialization.Schema<serializers.ListPlansRequestPlanType.Raw, Schematic.ListPlansRequestPlanType>;
|
|
8
|
+
export declare namespace ListPlansRequestPlanType {
|
|
9
|
+
type Raw = "plan" | "add_on";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ListPlansRequestPlanType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ListPlansRequestPlanType = core.serialization.enum_(["plan", "add_on"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const ListPlansResponseParamsPlanType: core.serialization.Schema<serializers.ListPlansResponseParamsPlanType.Raw, Schematic.ListPlansResponseParamsPlanType>;
|
|
8
|
+
export declare namespace ListPlansResponseParamsPlanType {
|
|
9
|
+
type Raw = "plan" | "add_on";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ListPlansResponseParamsPlanType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ListPlansResponseParamsPlanType = core.serialization.enum_(["plan", "add_on"]);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./GetAudienceResponse";
|
|
2
2
|
export * from "./UpdateAudienceResponse";
|
|
3
3
|
export * from "./DeleteAudienceResponse";
|
|
4
|
+
export * from "./ListPlansRequestPlanType";
|
|
5
|
+
export * from "./ListPlansResponseParamsPlanType";
|
|
4
6
|
export * from "./ListPlansParams";
|
|
5
7
|
export * from "./ListPlansResponse";
|
|
6
8
|
export * from "./CreatePlanRequestBodyPlanType";
|
|
@@ -9,5 +11,7 @@ export * from "./GetPlanResponse";
|
|
|
9
11
|
export * from "./UpdatePlanResponse";
|
|
10
12
|
export * from "./DeletePlanResponse";
|
|
11
13
|
export * from "./UpsertBillingProductPlanResponse";
|
|
14
|
+
export * from "./CountPlansRequestPlanType";
|
|
15
|
+
export * from "./CountPlansResponseParamsPlanType";
|
|
12
16
|
export * from "./CountPlansParams";
|
|
13
17
|
export * from "./CountPlansResponse";
|
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./GetAudienceResponse"), exports);
|
|
18
18
|
__exportStar(require("./UpdateAudienceResponse"), exports);
|
|
19
19
|
__exportStar(require("./DeleteAudienceResponse"), exports);
|
|
20
|
+
__exportStar(require("./ListPlansRequestPlanType"), exports);
|
|
21
|
+
__exportStar(require("./ListPlansResponseParamsPlanType"), exports);
|
|
20
22
|
__exportStar(require("./ListPlansParams"), exports);
|
|
21
23
|
__exportStar(require("./ListPlansResponse"), exports);
|
|
22
24
|
__exportStar(require("./CreatePlanRequestBodyPlanType"), exports);
|
|
@@ -25,5 +27,7 @@ __exportStar(require("./GetPlanResponse"), exports);
|
|
|
25
27
|
__exportStar(require("./UpdatePlanResponse"), exports);
|
|
26
28
|
__exportStar(require("./DeletePlanResponse"), exports);
|
|
27
29
|
__exportStar(require("./UpsertBillingProductPlanResponse"), exports);
|
|
30
|
+
__exportStar(require("./CountPlansRequestPlanType"), exports);
|
|
31
|
+
__exportStar(require("./CountPlansResponseParamsPlanType"), exports);
|
|
28
32
|
__exportStar(require("./CountPlansParams"), exports);
|
|
29
33
|
__exportStar(require("./CountPlansResponse"), exports);
|