@schematichq/schematic-typescript-node 1.2.4 → 1.2.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/dist/Client.d.ts +11 -57
- package/dist/api/resources/companies/client/Client.d.ts +35 -0
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +28 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/{features/types/CountAudienceCompaniesResponse.d.ts → companies/types/GetPlanChangeResponse.d.ts} +2 -2
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +17 -0
- package/dist/api/resources/{features/types/CountAudienceUsersResponse.d.ts → companies/types/ListPlanChangesResponse.d.ts} +3 -3
- package/dist/api/resources/companies/types/index.d.ts +3 -0
- package/dist/api/resources/credits/client/Client.d.ts +24 -24
- package/dist/api/resources/features/client/Client.d.ts +0 -112
- package/dist/api/resources/features/types/index.d.ts +0 -4
- package/dist/api/resources/index.d.ts +3 -3
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +0 -1
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +0 -1
- package/dist/api/resources/plans/client/Client.d.ts +0 -58
- package/dist/api/resources/plans/client/requests/index.d.ts +0 -1
- package/dist/api/resources/plans/types/index.d.ts +0 -3
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +2 -1
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +2 -1
- package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.d.ts +0 -1
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -2
- package/dist/api/types/PlanChangeResponseData.d.ts +29 -0
- package/dist/api/types/PlanChangeResponseDataAction.d.ts +14 -0
- package/dist/api/types/PlanChangeResponseDataActorType.d.ts +10 -0
- package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +13 -0
- package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +15 -0
- package/dist/api/types/PlanSnapshotView.d.ts +10 -0
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +0 -1
- package/dist/api/types/RuleConditionGroupDetailResponseData.d.ts +0 -1
- package/dist/api/types/RuleConditionGroupResponseData.d.ts +0 -1
- package/dist/api/types/RuleConditionResponseData.d.ts +0 -1
- package/dist/api/types/RuleDetailResponseData.d.ts +0 -1
- package/dist/api/types/RuleResponseData.d.ts +0 -1
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +12 -0
- package/dist/api/types/index.d.ts +7 -4
- package/dist/index.js +3 -3
- package/dist/serialization/resources/companies/types/GetPlanChangeResponse.d.ts +14 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +18 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesResponse.d.ts +15 -0
- package/dist/serialization/resources/companies/types/index.d.ts +3 -0
- package/dist/serialization/resources/features/types/index.d.ts +0 -4
- package/dist/serialization/resources/index.d.ts +3 -3
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +0 -1
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +0 -1
- package/dist/serialization/resources/plans/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/plans/types/index.d.ts +0 -3
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.d.ts +0 -1
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +1 -1
- package/dist/serialization/types/PlanChangeResponseData.d.ts +40 -0
- package/dist/serialization/types/PlanChangeResponseDataAction.d.ts +10 -0
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +10 -0
- package/dist/serialization/types/PlanChangeResponseDataBasePlanAction.d.ts +10 -0
- package/dist/serialization/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +10 -0
- package/dist/serialization/types/PlanSnapshotView.d.ts +16 -0
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +0 -1
- package/dist/serialization/types/RuleConditionGroupDetailResponseData.d.ts +0 -1
- package/dist/serialization/types/RuleConditionGroupResponseData.d.ts +0 -1
- package/dist/serialization/types/RuleConditionResponseData.d.ts +0 -1
- package/dist/serialization/types/RuleDetailResponseData.d.ts +0 -1
- package/dist/serialization/types/RuleResponseData.d.ts +0 -1
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +18 -0
- package/dist/serialization/types/index.d.ts +7 -4
- package/package.json +1 -1
- package/dist/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -9
- package/dist/api/resources/features/types/ListAudienceUsersResponse.d.ts +0 -9
- package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +0 -25
- package/dist/api/resources/plans/types/DeleteAudienceResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/GetAudienceResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/UpdateAudienceResponse.d.ts +0 -9
- package/dist/api/types/AudienceRequestBody.d.ts +0 -13
- package/dist/api/types/PaginationFilter.d.ts +0 -9
- package/dist/api/types/PlanAudienceDetailResponseData.d.ts +0 -18
- package/dist/api/types/PlanAudienceResponseData.d.ts +0 -15
- package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/CountAudienceUsersResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/ListAudienceUsersResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +0 -15
- package/dist/serialization/resources/plans/types/DeleteAudienceResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/GetAudienceResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/UpdateAudienceResponse.d.ts +0 -14
- package/dist/serialization/types/AudienceRequestBody.d.ts +0 -18
- package/dist/serialization/types/PaginationFilter.d.ts +0 -13
- package/dist/serialization/types/PlanAudienceDetailResponseData.d.ts +0 -25
- package/dist/serialization/types/PlanAudienceResponseData.d.ts +0 -21
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
import { DeleteResponse } from "../../../types/DeleteResponse";
|
|
8
|
-
export declare const DeleteAudienceResponse: core.serialization.ObjectSchema<serializers.DeleteAudienceResponse.Raw, Schematic.DeleteAudienceResponse>;
|
|
9
|
-
export declare namespace DeleteAudienceResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
data: DeleteResponse.Raw;
|
|
12
|
-
params: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
import { PlanAudienceDetailResponseData } from "../../../types/PlanAudienceDetailResponseData";
|
|
8
|
-
export declare const GetAudienceResponse: core.serialization.ObjectSchema<serializers.GetAudienceResponse.Raw, Schematic.GetAudienceResponse>;
|
|
9
|
-
export declare namespace GetAudienceResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
data: PlanAudienceDetailResponseData.Raw;
|
|
12
|
-
params: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
import { PlanAudienceDetailResponseData } from "../../../types/PlanAudienceDetailResponseData";
|
|
8
|
-
export declare const UpdateAudienceResponse: core.serialization.ObjectSchema<serializers.UpdateAudienceResponse.Raw, Schematic.UpdateAudienceResponse>;
|
|
9
|
-
export declare namespace UpdateAudienceResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
data: PlanAudienceDetailResponseData.Raw;
|
|
12
|
-
params: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
import { CreateOrUpdateConditionGroupRequestBody } from "./CreateOrUpdateConditionGroupRequestBody";
|
|
8
|
-
import { CreateOrUpdateConditionRequestBody } from "./CreateOrUpdateConditionRequestBody";
|
|
9
|
-
export declare const AudienceRequestBody: core.serialization.ObjectSchema<serializers.AudienceRequestBody.Raw, Schematic.AudienceRequestBody>;
|
|
10
|
-
export declare namespace AudienceRequestBody {
|
|
11
|
-
interface Raw {
|
|
12
|
-
condition_groups: CreateOrUpdateConditionGroupRequestBody.Raw[];
|
|
13
|
-
conditions: CreateOrUpdateConditionRequestBody.Raw[];
|
|
14
|
-
limit?: number | null;
|
|
15
|
-
offset?: number | null;
|
|
16
|
-
q?: string | null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 PaginationFilter: core.serialization.ObjectSchema<serializers.PaginationFilter.Raw, Schematic.PaginationFilter>;
|
|
8
|
-
export declare namespace PaginationFilter {
|
|
9
|
-
interface Raw {
|
|
10
|
-
limit?: number | null;
|
|
11
|
-
offset?: number | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
import { RuleConditionGroupDetailResponseData } from "./RuleConditionGroupDetailResponseData";
|
|
8
|
-
import { RuleConditionDetailResponseData } from "./RuleConditionDetailResponseData";
|
|
9
|
-
export declare const PlanAudienceDetailResponseData: core.serialization.ObjectSchema<serializers.PlanAudienceDetailResponseData.Raw, Schematic.PlanAudienceDetailResponseData>;
|
|
10
|
-
export declare namespace PlanAudienceDetailResponseData {
|
|
11
|
-
interface Raw {
|
|
12
|
-
condition_groups: RuleConditionGroupDetailResponseData.Raw[];
|
|
13
|
-
conditions: RuleConditionDetailResponseData.Raw[];
|
|
14
|
-
created_at: string;
|
|
15
|
-
environment_id: string;
|
|
16
|
-
flag_id?: string | null;
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
plan_id?: string | null;
|
|
20
|
-
priority: number;
|
|
21
|
-
rule_type: string;
|
|
22
|
-
updated_at: string;
|
|
23
|
-
value: boolean;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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 PlanAudienceResponseData: core.serialization.ObjectSchema<serializers.PlanAudienceResponseData.Raw, Schematic.PlanAudienceResponseData>;
|
|
8
|
-
export declare namespace PlanAudienceResponseData {
|
|
9
|
-
interface Raw {
|
|
10
|
-
created_at: string;
|
|
11
|
-
environment_id: string;
|
|
12
|
-
flag_id?: string | null;
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
plan_id?: string | null;
|
|
16
|
-
priority: number;
|
|
17
|
-
rule_type: string;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
value: boolean;
|
|
20
|
-
}
|
|
21
|
-
}
|