@schematichq/schematic-typescript-node 1.4.7 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/resources/accounts/client/Client.d.ts +20 -0
- package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +18 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/CountAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +6 -6
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +1 -1
- package/dist/api/resources/checkout/client/Client.d.ts +16 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +1 -1
- package/dist/api/resources/features/client/Client.d.ts +3 -3
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +1 -1
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +1 -1
- package/dist/api/resources/integrationsapi/client/Client.d.ts +54 -3
- package/dist/api/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallStripeResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/{LoadSampleDataSetV2Response.d.ts → LoadSampleDataSetResponse.d.ts} +1 -1
- package/dist/api/resources/integrationsapi/types/index.d.ts +4 -1
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plans/client/Client.d.ts +1 -1
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
- package/dist/api/types/AccountMemberResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingCreditLedgerAuthority.d.ts +6 -0
- package/dist/api/types/BillingCreditView.d.ts +1 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -0
- package/dist/api/types/CheckoutFieldInput.d.ts +8 -0
- package/dist/api/types/CheckoutFieldResponseData.d.ts +12 -0
- package/dist/api/types/CheckoutFieldValue.d.ts +4 -0
- package/dist/api/types/CheckoutFieldWithValue.d.ts +9 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +1 -0
- package/dist/api/types/CreditUsageReason.d.ts +8 -0
- package/dist/api/types/EventDetailResponseData.d.ts +1 -0
- package/dist/api/types/EventResponseData.d.ts +1 -0
- package/dist/api/types/InstallIntegrationRequestBody.d.ts +9 -0
- package/dist/api/types/IntegrationConfig.d.ts +4 -1
- package/dist/api/types/IntegrationInstallConfig.d.ts +13 -0
- package/dist/api/types/IntegrationInstallResponseData.d.ts +6 -0
- package/dist/api/types/IntegrationType.d.ts +1 -0
- package/dist/api/types/ManagePlanRequest.d.ts +1 -0
- package/dist/api/types/MetronomeIntegrationConfig.d.ts +1 -0
- package/dist/api/types/MigrationErrorCode.d.ts +1 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/datastream/merge.d.ts +5 -11
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/CountAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallStripeResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/{LoadSampleDataSetV2Response.d.ts → LoadSampleDataSetResponse.d.ts} +2 -2
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +4 -1
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditLedgerAuthority.d.ts +7 -0
- package/dist/serialization/types/BillingCreditView.d.ts +2 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/serialization/types/CheckoutFieldInput.d.ts +14 -0
- package/dist/serialization/types/CheckoutFieldResponseData.d.ts +18 -0
- package/dist/serialization/types/CheckoutFieldValue.d.ts +10 -0
- package/dist/serialization/types/CheckoutFieldWithValue.d.ts +15 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +2 -0
- package/dist/serialization/types/CreditUsageReason.d.ts +7 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/EventResponseData.d.ts +1 -0
- package/dist/serialization/types/InstallIntegrationRequestBody.d.ts +16 -0
- package/dist/serialization/types/IntegrationConfig.d.ts +5 -1
- package/dist/serialization/types/IntegrationInstallConfig.d.ts +20 -0
- package/dist/serialization/types/IntegrationInstallResponseData.d.ts +14 -0
- package/dist/serialization/types/IntegrationType.d.ts +1 -1
- package/dist/serialization/types/ManagePlanRequest.d.ts +2 -0
- package/dist/serialization/types/MetronomeIntegrationConfig.d.ts +7 -0
- package/dist/serialization/types/MigrationErrorCode.d.ts +1 -1
- package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/wasm/rulesengine.js +2 -2
- package/package.json +1 -1
- package/dist/wasm/rulesengine_bg.wasm +0 -0
|
@@ -34,6 +34,7 @@ export interface CompanyPlanCreditGrantView {
|
|
|
34
34
|
resetCadence?: Schematic.BillingPlanCreditGrantResetCadence;
|
|
35
35
|
resetStart?: Schematic.BillingPlanCreditGrantResetStart;
|
|
36
36
|
resetType: Schematic.BillingPlanCreditGrantResetType;
|
|
37
|
+
rolloverPercentage: number;
|
|
37
38
|
/** Deprecated field, will be removed in the future. Use Credit.SingularName instead. */
|
|
38
39
|
singularName?: string;
|
|
39
40
|
updatedAt: Date;
|
|
@@ -10,6 +10,7 @@ export interface ComponentHydrateResponseData {
|
|
|
10
10
|
component?: Schematic.ComponentResponseData;
|
|
11
11
|
creditBundles: Schematic.BillingCreditBundleView[];
|
|
12
12
|
creditGrants: Schematic.CreditCompanyGrantView[];
|
|
13
|
+
customCheckoutFields: Schematic.CheckoutFieldWithValue[];
|
|
13
14
|
defaultPlan?: Schematic.PlanDetailResponseData;
|
|
14
15
|
displaySettings: Schematic.ComponentDisplaySettings;
|
|
15
16
|
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
@@ -10,6 +10,7 @@ export interface ComponentPreviewResponseData {
|
|
|
10
10
|
component?: Schematic.ComponentResponseData;
|
|
11
11
|
creditBundles: Schematic.BillingCreditBundleView[];
|
|
12
12
|
creditGrants: Schematic.CreditCompanyGrantView[];
|
|
13
|
+
customCheckoutFields: Schematic.CheckoutFieldWithValue[];
|
|
13
14
|
defaultPlan?: Schematic.PlanDetailResponseData;
|
|
14
15
|
displaySettings: Schematic.ComponentDisplaySettings;
|
|
15
16
|
featureUsage?: Schematic.FeatureUsageDetailResponseData;
|
|
@@ -20,4 +20,6 @@ export interface CreateBillingPlanCreditGrantRequestBody {
|
|
|
20
20
|
resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
|
|
21
21
|
resetStart: Schematic.BillingPlanCreditGrantResetStart;
|
|
22
22
|
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
23
|
+
/** Percentage of unused credits that carry over when this grant resets. Only applies when reset_type is plan_period. Rolled-over credits expire at the next reset and are not rolled again. Defaults to 0. */
|
|
24
|
+
rolloverPercentage?: number;
|
|
23
25
|
}
|
|
@@ -25,7 +25,10 @@ export interface CreditCompanyGrantView {
|
|
|
25
25
|
quantityUsed: number;
|
|
26
26
|
renewalEnabled: boolean;
|
|
27
27
|
renewalPeriod?: Schematic.BillingPlanCreditGrantResetCadence;
|
|
28
|
+
reserved?: number;
|
|
29
|
+
settled?: number;
|
|
28
30
|
singularName?: string;
|
|
31
|
+
sourceGrantId?: string;
|
|
29
32
|
sourceLabel: string;
|
|
30
33
|
transfers?: Schematic.CreditTransferView[];
|
|
31
34
|
updatedAt: Date;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const CreditUsageReason: {
|
|
2
|
+
readonly LeaseHold: "lease_hold";
|
|
3
|
+
readonly LeaseRelease: "lease_release";
|
|
4
|
+
readonly ManualAdjustment: "manual_adjustment";
|
|
5
|
+
readonly Reconciliation: "reconciliation";
|
|
6
|
+
readonly Track: "track";
|
|
7
|
+
};
|
|
8
|
+
export type CreditUsageReason = (typeof CreditUsageReason)[keyof typeof CreditUsageReason];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface InstallIntegrationRequestBody {
|
|
3
|
+
companyMatchingCriteria?: Schematic.CompanyMatchingCriteria;
|
|
4
|
+
companyMatchingField?: string;
|
|
5
|
+
config?: Record<string, unknown>;
|
|
6
|
+
isSandbox?: boolean;
|
|
7
|
+
liveMode?: boolean;
|
|
8
|
+
type: Schematic.IntegrationType;
|
|
9
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type * as Schematic from "../index";
|
|
2
|
-
export type IntegrationConfig = Schematic.IntegrationConfig.Clerk | Schematic.IntegrationConfig.Orb | Schematic.IntegrationConfig.Stripe | Schematic.IntegrationConfig.Workos;
|
|
2
|
+
export type IntegrationConfig = Schematic.IntegrationConfig.Clerk | Schematic.IntegrationConfig.Metronome | Schematic.IntegrationConfig.Orb | Schematic.IntegrationConfig.Stripe | Schematic.IntegrationConfig.Workos;
|
|
3
3
|
export declare namespace IntegrationConfig {
|
|
4
4
|
interface Clerk extends Schematic.ClerkIntegrationConfig {
|
|
5
5
|
type: "clerk";
|
|
6
6
|
}
|
|
7
|
+
interface Metronome extends Schematic.MetronomeIntegrationConfig {
|
|
8
|
+
type: "metronome";
|
|
9
|
+
}
|
|
7
10
|
interface Orb extends Schematic.OrbIntegrationConfig {
|
|
8
11
|
type: "orb";
|
|
9
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface IntegrationInstallConfig {
|
|
3
|
+
companyMatchingCriteria?: Schematic.CompanyMatchingCriteria;
|
|
4
|
+
companyMatchingField?: string;
|
|
5
|
+
config?: Schematic.IntegrationConfig;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
id: string;
|
|
8
|
+
integrationId: string;
|
|
9
|
+
isAppInstall: boolean;
|
|
10
|
+
isConnectInstall: boolean;
|
|
11
|
+
liveMode: boolean;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
}
|
|
@@ -9,6 +9,7 @@ export interface ManagePlanRequest {
|
|
|
9
9
|
companyId: string;
|
|
10
10
|
couponExternalId?: string;
|
|
11
11
|
creditBundles: Schematic.UpdateCreditBundleRequestBody[];
|
|
12
|
+
customFieldValues: Schematic.CheckoutFieldValue[];
|
|
12
13
|
payInAdvanceEntitlements: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
13
14
|
paymentMethodExternalId?: string;
|
|
14
15
|
promoCode?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MetronomeIntegrationConfig = {};
|
|
@@ -3,6 +3,7 @@ export declare const MigrationErrorCode: {
|
|
|
3
3
|
readonly MultipleSubscriptions: "multiple_subscriptions";
|
|
4
4
|
readonly NoPriceForInterval: "no_price_for_interval";
|
|
5
5
|
readonly NotOnOriginVersion: "not_on_origin_version";
|
|
6
|
+
readonly OperationItemNotFound: "operation_item_not_found";
|
|
6
7
|
readonly PermanentConfig: "permanent_config";
|
|
7
8
|
readonly PermanentDecline: "permanent_decline";
|
|
8
9
|
readonly TransientDecline: "transient_decline";
|
|
@@ -31,6 +31,7 @@ export interface PlanCreditGrantView {
|
|
|
31
31
|
resetCadence?: Schematic.BillingPlanCreditGrantResetCadence;
|
|
32
32
|
resetStart?: Schematic.BillingPlanCreditGrantResetStart;
|
|
33
33
|
resetType: Schematic.BillingPlanCreditGrantResetType;
|
|
34
|
+
rolloverPercentage: number;
|
|
34
35
|
/** Deprecated field, will be removed in the future. Use Credit.SingularName instead. */
|
|
35
36
|
singularName?: string;
|
|
36
37
|
updatedAt: Date;
|
|
@@ -3,6 +3,7 @@ export interface PlanGroupDetailResponseData {
|
|
|
3
3
|
addOns: Schematic.PlanGroupPlanDetailResponseData[];
|
|
4
4
|
checkoutSettings: Schematic.CheckoutSettingsResponseData;
|
|
5
5
|
componentSettings: Schematic.ComponentSettingsResponseData;
|
|
6
|
+
customCheckoutFields: Schematic.CheckoutFieldResponseData[];
|
|
6
7
|
customPlanConfig?: Schematic.CustomPlanViewConfigResponseData;
|
|
7
8
|
customPlanId?: string;
|
|
8
9
|
defaultPlan?: Schematic.PlanGroupPlanDetailResponseData;
|
|
@@ -17,4 +17,6 @@ export interface UpdateBillingPlanCreditGrantRequestBody {
|
|
|
17
17
|
resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
|
|
18
18
|
resetStart: Schematic.BillingPlanCreditGrantResetStart;
|
|
19
19
|
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
20
|
+
/** Percentage of unused credits that carry over when this grant resets. Only applies when reset_type is plan_period. Rolled-over credits expire at the next reset and are not rolled again. */
|
|
21
|
+
rolloverPercentage?: number;
|
|
20
22
|
}
|
|
@@ -22,6 +22,7 @@ export * from "./BillingCreditExpiryUnit";
|
|
|
22
22
|
export * from "./BillingCreditGrantReason";
|
|
23
23
|
export * from "./BillingCreditGrantResponseData";
|
|
24
24
|
export * from "./BillingCreditGrantZeroedOutReason";
|
|
25
|
+
export * from "./BillingCreditLedgerAuthority";
|
|
25
26
|
export * from "./BillingCreditLedgerResponseData";
|
|
26
27
|
export * from "./BillingCreditResponseData";
|
|
27
28
|
export * from "./BillingCreditRolloverPolicy";
|
|
@@ -65,6 +66,10 @@ export * from "./CheckFlagResponseData";
|
|
|
65
66
|
export * from "./CheckFlagsBulkResponseData";
|
|
66
67
|
export * from "./CheckFlagsResponseData";
|
|
67
68
|
export * from "./CheckoutDataResponseData";
|
|
69
|
+
export * from "./CheckoutFieldInput";
|
|
70
|
+
export * from "./CheckoutFieldResponseData";
|
|
71
|
+
export * from "./CheckoutFieldValue";
|
|
72
|
+
export * from "./CheckoutFieldWithValue";
|
|
68
73
|
export * from "./CheckoutSettingsResponseData";
|
|
69
74
|
export * from "./CheckoutSubscription";
|
|
70
75
|
export * from "./ClerkIntegrationConfig";
|
|
@@ -143,6 +148,7 @@ export * from "./CreditTransferView";
|
|
|
143
148
|
export * from "./CreditTriggerConfig";
|
|
144
149
|
export * from "./CreditUsage";
|
|
145
150
|
export * from "./CreditUsageAggregation";
|
|
151
|
+
export * from "./CreditUsageReason";
|
|
146
152
|
export * from "./CurrencyPriceRequestBody";
|
|
147
153
|
export * from "./CustomPlanActivationStrategy";
|
|
148
154
|
export * from "./CustomPlanBillingResponseData";
|
|
@@ -209,8 +215,11 @@ export * from "./FlagType";
|
|
|
209
215
|
export * from "./FlagView";
|
|
210
216
|
export * from "./GenericPreviewObject";
|
|
211
217
|
export * from "./InsightsSummaryResponseData";
|
|
218
|
+
export * from "./InstallIntegrationRequestBody";
|
|
212
219
|
export * from "./IntegrationCapabilities";
|
|
213
220
|
export * from "./IntegrationConfig";
|
|
221
|
+
export * from "./IntegrationInstallConfig";
|
|
222
|
+
export * from "./IntegrationInstallResponseData";
|
|
214
223
|
export * from "./IntegrationResponseData";
|
|
215
224
|
export * from "./IntegrationState";
|
|
216
225
|
export * from "./IntegrationsDataSetResponseData";
|
|
@@ -231,6 +240,7 @@ export * from "./MarkCustomPlanBillingPaidRequestBody";
|
|
|
231
240
|
export * from "./MeterRequestBody";
|
|
232
241
|
export * from "./MetricPeriod";
|
|
233
242
|
export * from "./MetricPeriodMonthReset";
|
|
243
|
+
export * from "./MetronomeIntegrationConfig";
|
|
234
244
|
export * from "./MigrationErrorCode";
|
|
235
245
|
export * from "./MrrResponseData";
|
|
236
246
|
export * from "./OrbIntegrationConfig";
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import type * as Schematic from "../api/types";
|
|
2
|
-
/**
|
|
3
|
-
* Creates a complete deep copy of a Company object.
|
|
4
|
-
*/
|
|
5
2
|
export declare function deepCopyCompany(c: Schematic.RulesengineCompany): Schematic.RulesengineCompany;
|
|
6
|
-
/**
|
|
7
|
-
* Creates a complete deep copy of a User object.
|
|
8
|
-
*/
|
|
9
3
|
export declare function deepCopyUser(u: Schematic.RulesengineUser): Schematic.RulesengineUser;
|
|
10
4
|
/**
|
|
11
5
|
* Merges a partial update into an existing Company.
|
|
@@ -17,13 +11,13 @@ export declare function deepCopyUser(u: Schematic.RulesengineUser): Schematic.Ru
|
|
|
17
11
|
* Partials don't carry refreshed entitlements, so when their derived fields
|
|
18
12
|
* change in another part of the company we sync them here to match server
|
|
19
13
|
* behavior:
|
|
20
|
-
* -
|
|
21
|
-
* - usage ← metric value matching (
|
|
14
|
+
* - creditRemaining ← credit_balances[credit_id]
|
|
15
|
+
* - usage ← metric value matching (eventName, metricPeriod, monthReset)
|
|
22
16
|
* Both are skipped when the partial also sends entitlements wholesale.
|
|
23
17
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
18
|
+
* Partial updates arrive as raw wire payloads (snake_case keys) and are merged
|
|
19
|
+
* into an existing camelCase-canonicalized entity; each case writes the
|
|
20
|
+
* corresponding camelCase field so the cached entity stays in a single shape.
|
|
27
21
|
*/
|
|
28
22
|
export declare function partialCompany(existing: Schematic.RulesengineCompany, partial: Record<string, unknown>): Schematic.RulesengineCompany;
|
|
29
23
|
/**
|