@aventurevc/api-schemas 0.8.125 → 0.8.136
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/address/address.d.ts +2 -2
- package/dist/address/association.d.ts +3 -1
- package/dist/agent/help-question.d.ts +3 -1
- package/dist/agent/help.d.ts +11 -9
- package/dist/api/key.d.ts +3 -1
- package/dist/auth/operation-authorization.d.ts +7 -5
- package/dist/auth/operation-filter.d.ts +5 -3
- package/dist/auth/operation.d.ts +3 -1
- package/dist/auth/permission-grant.d.ts +3 -1
- package/dist/auth/provider-catalog.d.ts +3 -1
- package/dist/billing/additional-usage-meter.d.ts +3 -1
- package/dist/billing/additional-usage.d.ts +5 -3
- package/dist/billing/catalog-additional-usage.d.ts +3 -1
- package/dist/billing/catalog-allowance.d.ts +3 -1
- package/dist/billing/catalog-credit-pack.d.ts +3 -1
- package/dist/billing/catalog-plan.d.ts +4 -1
- package/dist/billing/catalog-plan.js +2 -0
- package/dist/billing/catalog-tier.d.ts +5 -3
- package/dist/billing/catalog.d.ts +13 -9
- package/dist/billing/checkout-mutation.d.ts +3 -1
- package/dist/billing/checkout.d.ts +3 -1
- package/dist/billing/plan-change-mutation.d.ts +3 -1
- package/dist/billing/plan-change-preview.d.ts +3 -1
- package/dist/billing/plan-change.d.ts +3 -1
- package/dist/billing/portal.d.ts +3 -1
- package/dist/billing/subscription-mutation.d.ts +19 -0
- package/dist/billing/subscription-mutation.js +16 -0
- package/dist/billing/subscription.d.ts +7 -5
- package/dist/blog/post.d.ts +3 -1
- package/dist/chart/bucket.d.ts +3 -1
- package/dist/classification/catalog-bucket.d.ts +19 -30
- package/dist/classification/catalog-category.d.ts +31 -3
- package/dist/classification/catalog.d.ts +7 -5
- package/dist/classification/classification.d.ts +3 -1
- package/dist/classification/inactive-tag-details.d.ts +3 -1
- package/dist/cli/authorization-mutation.d.ts +3 -1
- package/dist/cli/authorization-poll.d.ts +3 -1
- package/dist/cli/authorization-start.d.ts +3 -1
- package/dist/cli/authorization.d.ts +3 -1
- package/dist/cursor/slice-shared-search-list.d.ts +5 -3
- package/dist/decimal/range.d.ts +3 -1
- package/dist/domain/conflict-details.d.ts +10 -10
- package/dist/duplicate/create-review.d.ts +5 -3
- package/dist/employee/count.d.ts +2 -2
- package/dist/enrichment/batch.d.ts +3 -1
- package/dist/enrichment/enrichment.d.ts +5 -3
- package/dist/enrichment/prompt.d.ts +3 -1
- package/dist/enrichment/refusal-type.d.ts +3 -3
- package/dist/enrichment/refusal-type.js +4 -6
- package/dist/entity/accelerator-participation.d.ts +7 -5
- package/dist/entity/acquisition-evidence.d.ts +3 -1
- package/dist/entity/acquisition.d.ts +13 -11
- package/dist/entity/brand.d.ts +11 -9
- package/dist/entity/classification-suggestion.d.ts +39 -24
- package/dist/entity/classification.d.ts +159 -248
- package/dist/entity/detail-batch.d.ts +3 -1
- package/dist/entity/detail.d.ts +20 -18
- package/dist/entity/enrichment.d.ts +12 -9
- package/dist/entity/enrichment.js +2 -0
- package/dist/entity/entity.d.ts +4 -4
- package/dist/entity/filter-choice.d.ts +3 -1
- package/dist/entity/filter-entry.d.ts +9 -7
- package/dist/entity/filter-headquarters-country.d.ts +5 -3
- package/dist/entity/filter-headquarters-option-set.d.ts +2 -2
- package/dist/entity/filter-headquarters-state-city.d.ts +3 -1
- package/dist/entity/filter-meta.d.ts +2 -2
- package/dist/entity/filter-option-set-meta.d.ts +2 -2
- package/dist/entity/filter-option-set.d.ts +9 -7
- package/dist/entity/filter-refined-filters.d.ts +7 -5
- package/dist/entity/filter-search-result.d.ts +3 -1
- package/dist/entity/filter-search.d.ts +27 -25
- package/dist/entity/filter-ui-meta.d.ts +2 -2
- package/dist/entity/filter.d.ts +24 -24
- package/dist/entity/fundraise-filter-criteria.d.ts +20 -20
- package/dist/entity/fundraise-investor-activity.d.ts +5 -3
- package/dist/entity/fundraise-investor-join.d.ts +3 -1
- package/dist/entity/fundraise-transaction-entity.d.ts +4 -4
- package/dist/entity/fundraise-transaction.d.ts +7 -5
- package/dist/entity/fundraise-transaction.js +1 -0
- package/dist/entity/fundraise.d.ts +2 -2
- package/dist/entity/image.d.ts +3 -1
- package/dist/entity/investor-participation.d.ts +23 -19
- package/dist/entity/list-filter.d.ts +27 -25
- package/dist/entity/list-research.d.ts +7 -5
- package/dist/entity/list.d.ts +15 -11
- package/dist/entity/name-alias-entity-alias-type.d.ts +3 -1
- package/dist/entity/name-alias-person-alias-type.d.ts +3 -1
- package/dist/entity/natural-search.d.ts +29 -27
- package/dist/entity/person-association.d.ts +12 -12
- package/dist/entity/relationship-type-option.d.ts +3 -1
- package/dist/entity/relationship.d.ts +7 -5
- package/dist/entity/research-detail.d.ts +3 -1
- package/dist/entity/research-fact-value.d.ts +3 -1
- package/dist/entity/research.d.ts +7 -5
- package/dist/entity/resolution.d.ts +23 -19
- package/dist/entity/similarity-context.d.ts +3 -1
- package/dist/entity/similarity-result.d.ts +9 -5
- package/dist/entity/similarity-summary.d.ts +11 -9
- package/dist/entity/tag.d.ts +26 -29
- package/dist/entity/tag.js +30 -31
- package/dist/entity/text-bundle.d.ts +3 -1
- package/dist/entity/text.d.ts +3 -1
- package/dist/entity/type-alias.d.ts +3 -1
- package/dist/entity/type-group-membership.d.ts +3 -1
- package/dist/entity/url-link.d.ts +3 -1
- package/dist/entity/valuation-time-series-point.d.ts +3 -1
- package/dist/federated/natural-search.d.ts +38 -35
- package/dist/federated/natural-search.js +10 -11
- package/dist/federated/search-provenance.d.ts +11 -9
- package/dist/federated/search-rejection.d.ts +3 -1
- package/dist/federated/search.d.ts +41 -31
- package/dist/fundraise/investment-evidence.d.ts +5 -3
- package/dist/github/repo.d.ts +3 -1
- package/dist/harness/run-create.d.ts +5 -3
- package/dist/harness/run-detail.d.ts +11 -9
- package/dist/harness/task-plan-step.d.ts +5 -3
- package/dist/harness/task-plan.d.ts +4 -4
- package/dist/harness/task-step.d.ts +3 -1
- package/dist/harness/task.d.ts +3 -1
- package/dist/help/citation.d.ts +3 -1
- package/dist/help/resolution.d.ts +6 -6
- package/dist/http/json-value.d.ts +1 -1
- package/dist/http/problem-detail.d.ts +17 -14
- package/dist/http/problem-detail.js +2 -0
- package/dist/identification/candidate.d.ts +2 -2
- package/dist/identification/identification.d.ts +8 -8
- package/dist/int/range.d.ts +3 -1
- package/dist/investor/activity-filter.d.ts +10 -10
- package/dist/job/enqueue.d.ts +3 -1
- package/dist/link/search.d.ts +13 -3
- package/dist/logo/accuracy-reference.d.ts +3 -1
- package/dist/logo/accuracy.d.ts +2 -2
- package/dist/lookup/job-mention.d.ts +17 -13
- package/dist/lookup/job-mutation.d.ts +6 -3
- package/dist/lookup/job-mutation.js +2 -0
- package/dist/lookup/job.d.ts +19 -13
- package/dist/lookup/mention.d.ts +3 -1
- package/dist/media/upload.d.ts +5 -3
- package/dist/mention/lookup.d.ts +8 -3
- package/dist/mention/lookup.js +2 -0
- package/dist/natural/search-result.d.ts +27 -19
- package/dist/natural/search.d.ts +3 -1
- package/dist/news/detail.d.ts +9 -7
- package/dist/news/entity-mention.d.ts +5 -3
- package/dist/news/feedback-acknowledgement.d.ts +3 -1
- package/dist/news/feedback.d.ts +3 -1
- package/dist/news/news.d.ts +3 -1
- package/dist/news/published-event.d.ts +5 -3
- package/dist/news/resolved-entity-link.d.ts +3 -1
- package/dist/news/resolved-person-link.d.ts +3 -1
- package/dist/news/source-url-conflict.d.ts +3 -1
- package/dist/news/subscription-arguments.d.ts +3 -1
- package/dist/news/subscription-delivery.d.ts +3 -1
- package/dist/news/subscription-detail.d.ts +5 -3
- package/dist/news/subscription-endpoint.d.ts +3 -1
- package/dist/news/subscription-grant.d.ts +3 -1
- package/dist/news/subscription-key.d.ts +7 -5
- package/dist/news/subscription-test-event.d.ts +3 -1
- package/dist/news/subscription.d.ts +7 -5
- package/dist/openapi-component-manifest.js +8 -0
- package/dist/pagination/schemas.d.ts +225 -140
- package/dist/person/detail.d.ts +23 -21
- package/dist/person/enrichment.d.ts +7 -5
- package/dist/person/filter.d.ts +40 -40
- package/dist/person/graph-career-context.d.ts +17 -15
- package/dist/person/graph-co-investor.d.ts +9 -7
- package/dist/person/graph-member.d.ts +5 -3
- package/dist/person/graph-similar-entity.d.ts +9 -7
- package/dist/person/graph.d.ts +7 -5
- package/dist/person/image.d.ts +3 -1
- package/dist/person/invested-company.d.ts +7 -5
- package/dist/person/investment.d.ts +7 -5
- package/dist/person/investor-participation.d.ts +5 -3
- package/dist/person/list-array-filter.d.ts +6 -6
- package/dist/person/lookup-batch.d.ts +3 -1
- package/dist/person/natural-search-result.d.ts +9 -7
- package/dist/person/natural-search.d.ts +45 -43
- package/dist/person/person.d.ts +9 -7
- package/dist/person/search-interpretation.d.ts +47 -45
- package/dist/person/similarity-context.d.ts +3 -1
- package/dist/person/similarity-result.d.ts +19 -17
- package/dist/prose/violation.d.ts +3 -1
- package/dist/publication/facet.d.ts +3 -1
- package/dist/publication/publication.d.ts +3 -1
- package/dist/reasoning/effort.d.ts +0 -1
- package/dist/reasoning/effort.js +0 -1
- package/dist/refinement/meta.d.ts +3 -1
- package/dist/research/allowance-usage.d.ts +23 -21
- package/dist/research/allowance.d.ts +3 -1
- package/dist/research/detail-type.d.ts +3 -1
- package/dist/research/detail-type.js +1 -1
- package/dist/research/finding.d.ts +3 -1
- package/dist/research/snippet-type.d.ts +3 -1
- package/dist/resolved/handle.d.ts +3 -1
- package/dist/search/answer-citation.d.ts +3 -1
- package/dist/search/answer-paragraph.d.ts +5 -3
- package/dist/search/answer.d.ts +4 -4
- package/dist/search/cache-mode.d.ts +0 -1
- package/dist/search/cache-mode.js +0 -1
- package/dist/search/duplicate-candidate-score.d.ts +3 -1
- package/dist/search/hit.d.ts +3 -1
- package/dist/search/interpretation.d.ts +9 -7
- package/dist/search/investment.d.ts +5 -3
- package/dist/search/judgment.d.ts +7 -5
- package/dist/search/layer.d.ts +0 -2
- package/dist/search/layer.js +0 -2
- package/dist/search/mode-execution.d.ts +3 -1
- package/dist/search/ordering-entity-filter-sortable.d.ts +5 -3
- package/dist/search/ordering-person-sort-field.d.ts +5 -3
- package/dist/search/passage.d.ts +3 -1
- package/dist/search/search.d.ts +3 -1
- package/dist/sec/company.d.ts +10 -1
- package/dist/sec/company.js +6 -1
- package/dist/sec/listing-prospectus.d.ts +18 -0
- package/dist/sec/listing-prospectus.js +22 -0
- package/dist/shared/search-list.d.ts +3 -1
- package/dist/shared/search-mutation.d.ts +4 -209
- package/dist/shared/search-mutation.js +2 -8
- package/dist/shared/search.d.ts +15 -5
- package/dist/slug/location.d.ts +3 -1
- package/dist/sort/order-entity-filter-sortable.d.ts +3 -1
- package/dist/sort/order-person-sort-field.d.ts +3 -1
- package/dist/source/document-list.d.ts +3 -1
- package/dist/stage/frequency.d.ts +3 -1
- package/dist/standardized/classification.d.ts +4 -3
- package/dist/strict/url-lookup-conflict.d.ts +3 -1
- package/dist/system/global-metrics.d.ts +3 -1
- package/dist/system/status.d.ts +5 -3
- package/dist/system/system-build-detail.d.ts +3 -1
- package/dist/system/system-build.d.ts +5 -3
- package/dist/text/type-option.d.ts +3 -1
- package/dist/unique/id-type-alias.d.ts +3 -1
- package/dist/unique/id.d.ts +3 -1
- package/dist/uptime/uptime.d.ts +3 -1
- package/dist/url/duplicate-conflict.d.ts +5 -3
- package/dist/url/duplicate-join.d.ts +3 -1
- package/dist/url/type-alias.d.ts +3 -1
- package/dist/web/search.d.ts +9 -7
- package/package.json +1 -1
|
@@ -51,13 +51,13 @@ export declare const AddressSchema: z.ZodObject<{
|
|
|
51
51
|
isCurrent: boolean;
|
|
52
52
|
role?: "domicile" | "dominant" | "origin" | null | undefined;
|
|
53
53
|
startDate?: string | null | undefined;
|
|
54
|
-
},
|
|
54
|
+
}, import("./association.ts").AddressAssociationSchemaInput, z.core.$ZodTypeInternals<{
|
|
55
55
|
endDate?: string | null | undefined;
|
|
56
56
|
id: number;
|
|
57
57
|
isCurrent: boolean;
|
|
58
58
|
role?: "domicile" | "dominant" | "origin" | null | undefined;
|
|
59
59
|
startDate?: string | null | undefined;
|
|
60
|
-
},
|
|
60
|
+
}, import("./association.ts").AddressAssociationSchemaInput>>>>;
|
|
61
61
|
city: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
62
62
|
id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
63
63
|
name: z.ZodString;
|
|
@@ -11,6 +11,8 @@ declare const AddressAssociationSchemaDefinition: z.ZodObject<{
|
|
|
11
11
|
startDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
type AddressAssociationDefinition = z.infer<typeof AddressAssociationSchemaDefinition>;
|
|
14
|
+
export interface AddressAssociationSchemaInput extends z.input<typeof AddressAssociationSchemaDefinition> {
|
|
15
|
+
}
|
|
14
16
|
/**
|
|
15
17
|
* One role and effective period for a physical address association
|
|
16
18
|
*
|
|
@@ -50,7 +52,7 @@ type AddressAssociationDefinition = z.infer<typeof AddressAssociationSchemaDefin
|
|
|
50
52
|
* @contractShape address.association
|
|
51
53
|
* @contractRole canonical
|
|
52
54
|
*/
|
|
53
|
-
export declare const AddressAssociationSchema: z.ZodType<AddressAssociationDefinition>;
|
|
55
|
+
export declare const AddressAssociationSchema: z.ZodType<AddressAssociationDefinition, AddressAssociationSchemaInput>;
|
|
54
56
|
export type AddressAssociation = z.infer<typeof AddressAssociationSchema>;
|
|
55
57
|
export {};
|
|
56
58
|
//# sourceMappingURL=association.d.ts.map
|
|
@@ -11,6 +11,8 @@ declare const AgentHelpQuestionSchemaDefinition: z.ZodObject<{
|
|
|
11
11
|
}>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
type AgentHelpQuestionDefinition = z.infer<typeof AgentHelpQuestionSchemaDefinition>;
|
|
14
|
+
export interface AgentHelpQuestionSchemaInput extends z.input<typeof AgentHelpQuestionSchemaDefinition> {
|
|
15
|
+
}
|
|
14
16
|
/**
|
|
15
17
|
* A natural-language question about how to operate the platform, answered from the operation catalog, agent skills, and completion gates.
|
|
16
18
|
*
|
|
@@ -20,7 +22,7 @@ type AgentHelpQuestionDefinition = z.infer<typeof AgentHelpQuestionSchemaDefinit
|
|
|
20
22
|
* @contractShape agent.help-question
|
|
21
23
|
* @contractRole canonical
|
|
22
24
|
*/
|
|
23
|
-
export declare const AgentHelpQuestionSchema: z.ZodType<AgentHelpQuestionDefinition>;
|
|
25
|
+
export declare const AgentHelpQuestionSchema: z.ZodType<AgentHelpQuestionDefinition, AgentHelpQuestionSchemaInput>;
|
|
24
26
|
export type AgentHelpQuestion = z.infer<typeof AgentHelpQuestionSchema>;
|
|
25
27
|
export {};
|
|
26
28
|
//# sourceMappingURL=help-question.d.ts.map
|
package/dist/agent/help.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
6
6
|
sourceId: string;
|
|
7
7
|
sourceType: string;
|
|
8
8
|
sourceVersion?: string | null | undefined;
|
|
9
|
-
},
|
|
9
|
+
}, import("../help/citation.ts").HelpCitationSchemaInput, z.core.$ZodTypeInternals<{
|
|
10
10
|
excerpt: string;
|
|
11
11
|
sourceId: string;
|
|
12
12
|
sourceType: string;
|
|
13
13
|
sourceVersion?: string | null | undefined;
|
|
14
|
-
},
|
|
14
|
+
}, import("../help/citation.ts").HelpCitationSchemaInput>>>;
|
|
15
15
|
confidence: z.ZodEnum<{
|
|
16
16
|
HIGH: "HIGH";
|
|
17
17
|
LOW: "LOW";
|
|
@@ -23,12 +23,12 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
23
23
|
sourceId: string;
|
|
24
24
|
sourceType: string;
|
|
25
25
|
sourceVersion?: string | null | undefined;
|
|
26
|
-
},
|
|
26
|
+
}, import("../help/citation.ts").HelpCitationSchemaInput, z.core.$ZodTypeInternals<{
|
|
27
27
|
excerpt: string;
|
|
28
28
|
sourceId: string;
|
|
29
29
|
sourceType: string;
|
|
30
30
|
sourceVersion?: string | null | undefined;
|
|
31
|
-
},
|
|
31
|
+
}, import("../help/citation.ts").HelpCitationSchemaInput>>>;
|
|
32
32
|
operationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
outcome: z.ZodEnum<{
|
|
34
34
|
ABSTAIN: "ABSTAIN";
|
|
@@ -45,11 +45,11 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
45
45
|
description: string;
|
|
46
46
|
key: string;
|
|
47
47
|
type: string;
|
|
48
|
-
},
|
|
48
|
+
}, import("../harness/task.ts").HarnessTaskSchemaInput, z.core.$ZodTypeInternals<{
|
|
49
49
|
description: string;
|
|
50
50
|
key: string;
|
|
51
51
|
type: string;
|
|
52
|
-
},
|
|
52
|
+
}, import("../harness/task.ts").HarnessTaskSchemaInput>>>;
|
|
53
53
|
step: z.ZodArray<z.ZodType<{
|
|
54
54
|
cliCommand: string;
|
|
55
55
|
mcpTool?: string | null | undefined;
|
|
@@ -66,7 +66,7 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
66
66
|
reject: string[];
|
|
67
67
|
typeCatalog: string;
|
|
68
68
|
} | null | undefined;
|
|
69
|
-
},
|
|
69
|
+
}, import("../harness/task-plan-step.ts").HarnessTaskPlanStepSchemaInput, z.core.$ZodTypeInternals<{
|
|
70
70
|
cliCommand: string;
|
|
71
71
|
mcpTool?: string | null | undefined;
|
|
72
72
|
step: {
|
|
@@ -82,12 +82,14 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
|
|
|
82
82
|
reject: string[];
|
|
83
83
|
typeCatalog: string;
|
|
84
84
|
} | null | undefined;
|
|
85
|
-
},
|
|
85
|
+
}, import("../harness/task-plan-step.ts").HarnessTaskPlanStepSchemaInput>>>;
|
|
86
86
|
taskKey: z.ZodString;
|
|
87
87
|
}, z.core.$strip>>>;
|
|
88
88
|
}, z.core.$strip>>>;
|
|
89
89
|
}, z.core.$strip>;
|
|
90
90
|
type AgentHelpDefinition = z.infer<typeof AgentHelpSchemaDefinition>;
|
|
91
|
+
export interface AgentHelpSchemaInput extends z.input<typeof AgentHelpSchemaDefinition> {
|
|
92
|
+
}
|
|
91
93
|
/**
|
|
92
94
|
* Grounded natural-language help answer with citations to specific operations, skills, or completion gates. Unsupported questions abstain (LOW confidence) rather than guess.
|
|
93
95
|
*
|
|
@@ -97,7 +99,7 @@ type AgentHelpDefinition = z.infer<typeof AgentHelpSchemaDefinition>;
|
|
|
97
99
|
* @contractShape agent.help
|
|
98
100
|
* @contractRole canonical
|
|
99
101
|
*/
|
|
100
|
-
export declare const AgentHelpSchema: z.ZodType<AgentHelpDefinition>;
|
|
102
|
+
export declare const AgentHelpSchema: z.ZodType<AgentHelpDefinition, AgentHelpSchemaInput>;
|
|
101
103
|
export type AgentHelp = z.infer<typeof AgentHelpSchema>;
|
|
102
104
|
export {};
|
|
103
105
|
//# sourceMappingURL=help.d.ts.map
|
package/dist/api/key.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ declare const ApiKeySchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
updatedAt: z.ZodISODateTime;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
type ApiKeyDefinition = z.infer<typeof ApiKeySchemaDefinition>;
|
|
20
|
+
export interface ApiKeySchemaInput extends z.input<typeof ApiKeySchemaDefinition> {
|
|
21
|
+
}
|
|
20
22
|
/**
|
|
21
23
|
* API key metadata; never contains the key secret
|
|
22
24
|
*
|
|
@@ -26,7 +28,7 @@ type ApiKeyDefinition = z.infer<typeof ApiKeySchemaDefinition>;
|
|
|
26
28
|
* @contractShape api.key
|
|
27
29
|
* @contractRole canonical
|
|
28
30
|
*/
|
|
29
|
-
export declare const ApiKeySchema: z.ZodType<ApiKeyDefinition>;
|
|
31
|
+
export declare const ApiKeySchema: z.ZodType<ApiKeyDefinition, ApiKeySchemaInput>;
|
|
30
32
|
export type ApiKey = z.infer<typeof ApiKeySchema>;
|
|
31
33
|
export {};
|
|
32
34
|
//# sourceMappingURL=key.d.ts.map
|
|
@@ -5,12 +5,12 @@ declare const AuthOperationAuthorizationSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
6
6
|
operationId: string;
|
|
7
7
|
path: string;
|
|
8
|
-
},
|
|
8
|
+
}, import("./operation.ts").AuthOperationSchemaInput, z.core.$ZodTypeInternals<{
|
|
9
9
|
authorizationPath: string;
|
|
10
10
|
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
11
11
|
operationId: string;
|
|
12
12
|
path: string;
|
|
13
|
-
},
|
|
13
|
+
}, import("./operation.ts").AuthOperationSchemaInput>>>;
|
|
14
14
|
operationAccess: z.ZodEnum<{
|
|
15
15
|
ADMIN: "ADMIN";
|
|
16
16
|
PERMISSION: "PERMISSION";
|
|
@@ -19,12 +19,14 @@ declare const AuthOperationAuthorizationSchemaDefinition: z.ZodObject<{
|
|
|
19
19
|
permissionGrant: z.ZodType<{
|
|
20
20
|
permission: string[];
|
|
21
21
|
role: string[];
|
|
22
|
-
},
|
|
22
|
+
}, import("./permission-grant.ts").AuthPermissionGrantSchemaInput, z.core.$ZodTypeInternals<{
|
|
23
23
|
permission: string[];
|
|
24
24
|
role: string[];
|
|
25
|
-
},
|
|
25
|
+
}, import("./permission-grant.ts").AuthPermissionGrantSchemaInput>>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
type AuthOperationAuthorizationDefinition = z.infer<typeof AuthOperationAuthorizationSchemaDefinition>;
|
|
28
|
+
export interface AuthOperationAuthorizationSchemaInput extends z.input<typeof AuthOperationAuthorizationSchemaDefinition> {
|
|
29
|
+
}
|
|
28
30
|
/**
|
|
29
31
|
* Current permission grant, access class, and supplied API operations admitted by the live request authorization policy.
|
|
30
32
|
*
|
|
@@ -33,7 +35,7 @@ type AuthOperationAuthorizationDefinition = z.infer<typeof AuthOperationAuthoriz
|
|
|
33
35
|
* @contractShape auth.operation-authorization
|
|
34
36
|
* @contractRole canonical
|
|
35
37
|
*/
|
|
36
|
-
export declare const AuthOperationAuthorizationSchema: z.ZodType<AuthOperationAuthorizationDefinition>;
|
|
38
|
+
export declare const AuthOperationAuthorizationSchema: z.ZodType<AuthOperationAuthorizationDefinition, AuthOperationAuthorizationSchemaInput>;
|
|
37
39
|
export type AuthOperationAuthorization = z.infer<typeof AuthOperationAuthorizationSchema>;
|
|
38
40
|
export {};
|
|
39
41
|
//# sourceMappingURL=operation-authorization.d.ts.map
|
|
@@ -5,14 +5,16 @@ declare const AuthOperationFilterSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
6
6
|
operationId: string;
|
|
7
7
|
path: string;
|
|
8
|
-
},
|
|
8
|
+
}, import("./operation.ts").AuthOperationSchemaInput, z.core.$ZodTypeInternals<{
|
|
9
9
|
authorizationPath: string;
|
|
10
10
|
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
11
11
|
operationId: string;
|
|
12
12
|
path: string;
|
|
13
|
-
},
|
|
13
|
+
}, import("./operation.ts").AuthOperationSchemaInput>>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type AuthOperationFilterDefinition = z.infer<typeof AuthOperationFilterSchemaDefinition>;
|
|
16
|
+
export interface AuthOperationFilterSchemaInput extends z.input<typeof AuthOperationFilterSchemaDefinition> {
|
|
17
|
+
}
|
|
16
18
|
/**
|
|
17
19
|
* Bounded generated API operations to authorize for the current session.
|
|
18
20
|
*
|
|
@@ -21,7 +23,7 @@ type AuthOperationFilterDefinition = z.infer<typeof AuthOperationFilterSchemaDef
|
|
|
21
23
|
* @contractShape auth.operation-filter
|
|
22
24
|
* @contractRole canonical
|
|
23
25
|
*/
|
|
24
|
-
export declare const AuthOperationFilterSchema: z.ZodType<AuthOperationFilterDefinition>;
|
|
26
|
+
export declare const AuthOperationFilterSchema: z.ZodType<AuthOperationFilterDefinition, AuthOperationFilterSchemaInput>;
|
|
25
27
|
export type AuthOperationFilter = z.infer<typeof AuthOperationFilterSchema>;
|
|
26
28
|
export {};
|
|
27
29
|
//# sourceMappingURL=operation-filter.d.ts.map
|
package/dist/auth/operation.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ declare const AuthOperationSchemaDefinition: z.ZodObject<{
|
|
|
12
12
|
path: z.ZodString;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type AuthOperationDefinition = z.infer<typeof AuthOperationSchemaDefinition>;
|
|
15
|
+
export interface AuthOperationSchemaInput extends z.input<typeof AuthOperationSchemaDefinition> {
|
|
16
|
+
}
|
|
15
17
|
/**
|
|
16
18
|
* Generated API operation candidate identified by operation id, method, and path.
|
|
17
19
|
*
|
|
@@ -22,7 +24,7 @@ type AuthOperationDefinition = z.infer<typeof AuthOperationSchemaDefinition>;
|
|
|
22
24
|
* @contractShape auth.operation
|
|
23
25
|
* @contractRole canonical
|
|
24
26
|
*/
|
|
25
|
-
export declare const AuthOperationSchema: z.ZodType<AuthOperationDefinition>;
|
|
27
|
+
export declare const AuthOperationSchema: z.ZodType<AuthOperationDefinition, AuthOperationSchemaInput>;
|
|
26
28
|
export type AuthOperation = z.infer<typeof AuthOperationSchema>;
|
|
27
29
|
export {};
|
|
28
30
|
//# sourceMappingURL=operation.d.ts.map
|
|
@@ -4,6 +4,8 @@ declare const AuthPermissionGrantSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
role: z.ZodArray<z.ZodString>;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
type AuthPermissionGrantDefinition = z.infer<typeof AuthPermissionGrantSchemaDefinition>;
|
|
7
|
+
export interface AuthPermissionGrantSchemaInput extends z.input<typeof AuthPermissionGrantSchemaDefinition> {
|
|
8
|
+
}
|
|
7
9
|
/**
|
|
8
10
|
* Auth permission grant
|
|
9
11
|
*
|
|
@@ -14,7 +16,7 @@ type AuthPermissionGrantDefinition = z.infer<typeof AuthPermissionGrantSchemaDef
|
|
|
14
16
|
* @contractShape auth.permission-grant
|
|
15
17
|
* @contractRole canonical
|
|
16
18
|
*/
|
|
17
|
-
export declare const AuthPermissionGrantSchema: z.ZodType<AuthPermissionGrantDefinition>;
|
|
19
|
+
export declare const AuthPermissionGrantSchema: z.ZodType<AuthPermissionGrantDefinition, AuthPermissionGrantSchemaInput>;
|
|
18
20
|
export type AuthPermissionGrant = z.infer<typeof AuthPermissionGrantSchema>;
|
|
19
21
|
export {};
|
|
20
22
|
//# sourceMappingURL=permission-grant.d.ts.map
|
|
@@ -11,13 +11,15 @@ declare const AuthProviderCatalogSchemaDefinition: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
type AuthProviderCatalogDefinition = z.infer<typeof AuthProviderCatalogSchemaDefinition>;
|
|
14
|
+
export interface AuthProviderCatalogSchemaInput extends z.input<typeof AuthProviderCatalogSchemaDefinition> {
|
|
15
|
+
}
|
|
14
16
|
/**
|
|
15
17
|
* @openapiSchema AuthProviderCatalog
|
|
16
18
|
* @endpoint GET /v1/auth/providers
|
|
17
19
|
* @contractShape auth.provider-catalog
|
|
18
20
|
* @contractRole canonical
|
|
19
21
|
*/
|
|
20
|
-
export declare const AuthProviderCatalogSchema: z.ZodType<AuthProviderCatalogDefinition>;
|
|
22
|
+
export declare const AuthProviderCatalogSchema: z.ZodType<AuthProviderCatalogDefinition, AuthProviderCatalogSchemaInput>;
|
|
21
23
|
export type AuthProviderCatalog = z.infer<typeof AuthProviderCatalogSchema>;
|
|
22
24
|
export {};
|
|
23
25
|
//# sourceMappingURL=provider-catalog.d.ts.map
|
|
@@ -13,6 +13,8 @@ declare const BillingAdditionalUsageMeterSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
}>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type BillingAdditionalUsageMeterDefinition = z.infer<typeof BillingAdditionalUsageMeterSchemaDefinition>;
|
|
16
|
+
export interface BillingAdditionalUsageMeterSchemaInput extends z.input<typeof BillingAdditionalUsageMeterSchemaDefinition> {
|
|
17
|
+
}
|
|
16
18
|
/**
|
|
17
19
|
* One meter's additional usage this UTC month.
|
|
18
20
|
*
|
|
@@ -22,7 +24,7 @@ type BillingAdditionalUsageMeterDefinition = z.infer<typeof BillingAdditionalUsa
|
|
|
22
24
|
* @contractShape billing.additional-usage-meter
|
|
23
25
|
* @contractRole canonical
|
|
24
26
|
*/
|
|
25
|
-
export declare const BillingAdditionalUsageMeterSchema: z.ZodType<BillingAdditionalUsageMeterDefinition>;
|
|
27
|
+
export declare const BillingAdditionalUsageMeterSchema: z.ZodType<BillingAdditionalUsageMeterDefinition, BillingAdditionalUsageMeterSchemaInput>;
|
|
26
28
|
export type BillingAdditionalUsageMeter = z.infer<typeof BillingAdditionalUsageMeterSchema>;
|
|
27
29
|
export {};
|
|
28
30
|
//# sourceMappingURL=additional-usage-meter.d.ts.map
|
|
@@ -12,17 +12,19 @@ declare const BillingAdditionalUsageSchemaDefinition: z.ZodObject<{
|
|
|
12
12
|
amountCents: number;
|
|
13
13
|
quantity: number;
|
|
14
14
|
type: "AI_CREDIT" | "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
15
|
-
},
|
|
15
|
+
}, import("./additional-usage-meter.ts").BillingAdditionalUsageMeterSchemaInput, z.core.$ZodTypeInternals<{
|
|
16
16
|
amountCents: number;
|
|
17
17
|
quantity: number;
|
|
18
18
|
type: "AI_CREDIT" | "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
19
|
-
},
|
|
19
|
+
}, import("./additional-usage-meter.ts").BillingAdditionalUsageMeterSchemaInput>>>;
|
|
20
20
|
resetAt: z.ZodISODateTime;
|
|
21
21
|
spendCapCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
spentCents: z.ZodNumber;
|
|
23
23
|
unbilledCents: z.ZodNumber;
|
|
24
24
|
}, z.core.$strip>;
|
|
25
25
|
type BillingAdditionalUsageDefinition = z.infer<typeof BillingAdditionalUsageSchemaDefinition>;
|
|
26
|
+
export interface BillingAdditionalUsageSchemaInput extends z.input<typeof BillingAdditionalUsageSchemaDefinition> {
|
|
27
|
+
}
|
|
26
28
|
/**
|
|
27
29
|
* Opt-in metered usage past the monthly allowance: settings, spend this UTC month, prepaid credit, and unbilled usage.
|
|
28
30
|
*
|
|
@@ -32,7 +34,7 @@ type BillingAdditionalUsageDefinition = z.infer<typeof BillingAdditionalUsageSch
|
|
|
32
34
|
* @contractShape billing.additional-usage
|
|
33
35
|
* @contractRole canonical
|
|
34
36
|
*/
|
|
35
|
-
export declare const BillingAdditionalUsageSchema: z.ZodType<BillingAdditionalUsageDefinition>;
|
|
37
|
+
export declare const BillingAdditionalUsageSchema: z.ZodType<BillingAdditionalUsageDefinition, BillingAdditionalUsageSchemaInput>;
|
|
36
38
|
export type BillingAdditionalUsage = z.infer<typeof BillingAdditionalUsageSchema>;
|
|
37
39
|
export {};
|
|
38
40
|
//# sourceMappingURL=additional-usage.d.ts.map
|
|
@@ -12,6 +12,8 @@ declare const BillingCatalogAdditionalUsageSchemaDefinition: z.ZodObject<{
|
|
|
12
12
|
unitAmount: z.ZodNumber;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type BillingCatalogAdditionalUsageDefinition = z.infer<typeof BillingCatalogAdditionalUsageSchemaDefinition>;
|
|
15
|
+
export interface BillingCatalogAdditionalUsageSchemaInput extends z.input<typeof BillingCatalogAdditionalUsageSchemaDefinition> {
|
|
16
|
+
}
|
|
15
17
|
/**
|
|
16
18
|
* Price of one unit of usage past a paid tier's monthly cap.
|
|
17
19
|
*
|
|
@@ -21,7 +23,7 @@ type BillingCatalogAdditionalUsageDefinition = z.infer<typeof BillingCatalogAddi
|
|
|
21
23
|
* @contractShape billing.catalog-additional-usage
|
|
22
24
|
* @contractRole canonical
|
|
23
25
|
*/
|
|
24
|
-
export declare const BillingCatalogAdditionalUsageSchema: z.ZodType<BillingCatalogAdditionalUsageDefinition>;
|
|
26
|
+
export declare const BillingCatalogAdditionalUsageSchema: z.ZodType<BillingCatalogAdditionalUsageDefinition, BillingCatalogAdditionalUsageSchemaInput>;
|
|
25
27
|
export type BillingCatalogAdditionalUsage = z.infer<typeof BillingCatalogAdditionalUsageSchema>;
|
|
26
28
|
export {};
|
|
27
29
|
//# sourceMappingURL=catalog-additional-usage.d.ts.map
|
|
@@ -11,6 +11,8 @@ declare const BillingCatalogAllowanceSchemaDefinition: z.ZodObject<{
|
|
|
11
11
|
}>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
type BillingCatalogAllowanceDefinition = z.infer<typeof BillingCatalogAllowanceSchemaDefinition>;
|
|
14
|
+
export interface BillingCatalogAllowanceSchemaInput extends z.input<typeof BillingCatalogAllowanceSchemaDefinition> {
|
|
15
|
+
}
|
|
14
16
|
/**
|
|
15
17
|
* A tier's monthly cap for one allowance.
|
|
16
18
|
*
|
|
@@ -20,7 +22,7 @@ type BillingCatalogAllowanceDefinition = z.infer<typeof BillingCatalogAllowanceS
|
|
|
20
22
|
* @contractShape billing.catalog-allowance
|
|
21
23
|
* @contractRole canonical
|
|
22
24
|
*/
|
|
23
|
-
export declare const BillingCatalogAllowanceSchema: z.ZodType<BillingCatalogAllowanceDefinition>;
|
|
25
|
+
export declare const BillingCatalogAllowanceSchema: z.ZodType<BillingCatalogAllowanceDefinition, BillingCatalogAllowanceSchemaInput>;
|
|
24
26
|
export type BillingCatalogAllowance = z.infer<typeof BillingCatalogAllowanceSchema>;
|
|
25
27
|
export {};
|
|
26
28
|
//# sourceMappingURL=catalog-allowance.d.ts.map
|
|
@@ -9,6 +9,8 @@ declare const BillingCatalogCreditPackSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
}>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
type BillingCatalogCreditPackDefinition = z.infer<typeof BillingCatalogCreditPackSchemaDefinition>;
|
|
12
|
+
export interface BillingCatalogCreditPackSchemaInput extends z.input<typeof BillingCatalogCreditPackSchemaDefinition> {
|
|
13
|
+
}
|
|
12
14
|
/**
|
|
13
15
|
* One prepaid credit pack.
|
|
14
16
|
*
|
|
@@ -18,7 +20,7 @@ type BillingCatalogCreditPackDefinition = z.infer<typeof BillingCatalogCreditPac
|
|
|
18
20
|
* @contractShape billing.catalog-credit-pack
|
|
19
21
|
* @contractRole canonical
|
|
20
22
|
*/
|
|
21
|
-
export declare const BillingCatalogCreditPackSchema: z.ZodType<BillingCatalogCreditPackDefinition>;
|
|
23
|
+
export declare const BillingCatalogCreditPackSchema: z.ZodType<BillingCatalogCreditPackDefinition, BillingCatalogCreditPackSchemaInput>;
|
|
22
24
|
export type BillingCatalogCreditPack = z.infer<typeof BillingCatalogCreditPackSchema>;
|
|
23
25
|
export {};
|
|
24
26
|
//# sourceMappingURL=catalog-credit-pack.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
3
|
+
appStoreProductId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3
4
|
cadence: z.ZodString;
|
|
4
5
|
currency: z.ZodString;
|
|
5
6
|
displayName: z.ZodString;
|
|
@@ -20,6 +21,8 @@ declare const BillingCatalogPlanSchemaDefinition: z.ZodObject<{
|
|
|
20
21
|
unitAmount: z.ZodNumber;
|
|
21
22
|
}, z.core.$strip>;
|
|
22
23
|
type BillingCatalogPlanDefinition = z.infer<typeof BillingCatalogPlanSchemaDefinition>;
|
|
24
|
+
export interface BillingCatalogPlanSchemaInput extends z.input<typeof BillingCatalogPlanSchemaDefinition> {
|
|
25
|
+
}
|
|
23
26
|
/**
|
|
24
27
|
* One Checkout plan and its recurring price.
|
|
25
28
|
*
|
|
@@ -29,7 +32,7 @@ type BillingCatalogPlanDefinition = z.infer<typeof BillingCatalogPlanSchemaDefin
|
|
|
29
32
|
* @contractShape billing.catalog-plan
|
|
30
33
|
* @contractRole canonical
|
|
31
34
|
*/
|
|
32
|
-
export declare const BillingCatalogPlanSchema: z.ZodType<BillingCatalogPlanDefinition>;
|
|
35
|
+
export declare const BillingCatalogPlanSchema: z.ZodType<BillingCatalogPlanDefinition, BillingCatalogPlanSchemaInput>;
|
|
33
36
|
export type BillingCatalogPlan = z.infer<typeof BillingCatalogPlanSchema>;
|
|
34
37
|
export {};
|
|
35
38
|
//# sourceMappingURL=catalog-plan.d.ts.map
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { BillingPlanTypeSchema } from "./plan-type.js";
|
|
4
4
|
const BillingCatalogPlanSchemaDefinition = z.object({
|
|
5
|
+
/** App Store product id that sells this plan in the iOS and Mac apps; absent when the plan sells only on the web. */
|
|
6
|
+
appStoreProductId: z.string().nullish(),
|
|
5
7
|
/** ISO 8601 billing period. */
|
|
6
8
|
cadence: z.string(),
|
|
7
9
|
/** ISO 4217 currency code. */
|
|
@@ -4,10 +4,10 @@ declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
|
|
|
4
4
|
allowance: z.ZodArray<z.ZodType<{
|
|
5
5
|
limit?: number | null | undefined;
|
|
6
6
|
type: "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
7
|
-
},
|
|
7
|
+
}, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput, z.core.$ZodTypeInternals<{
|
|
8
8
|
limit?: number | null | undefined;
|
|
9
9
|
type: "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
10
|
-
},
|
|
10
|
+
}, import("./catalog-allowance.ts").BillingCatalogAllowanceSchemaInput>>>;
|
|
11
11
|
displayName: z.ZodString;
|
|
12
12
|
tier: z.ZodEnum<{
|
|
13
13
|
ESSENTIAL: "ESSENTIAL";
|
|
@@ -17,6 +17,8 @@ declare const BillingCatalogTierSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
}>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
type BillingCatalogTierDefinition = z.infer<typeof BillingCatalogTierSchemaDefinition>;
|
|
20
|
+
export interface BillingCatalogTierSchemaInput extends z.input<typeof BillingCatalogTierSchemaDefinition> {
|
|
21
|
+
}
|
|
20
22
|
/**
|
|
21
23
|
* One subscription tier and its monthly caps.
|
|
22
24
|
*
|
|
@@ -26,7 +28,7 @@ type BillingCatalogTierDefinition = z.infer<typeof BillingCatalogTierSchemaDefin
|
|
|
26
28
|
* @contractShape billing.catalog-tier
|
|
27
29
|
* @contractRole canonical
|
|
28
30
|
*/
|
|
29
|
-
export declare const BillingCatalogTierSchema: z.ZodType<BillingCatalogTierDefinition>;
|
|
31
|
+
export declare const BillingCatalogTierSchema: z.ZodType<BillingCatalogTierDefinition, BillingCatalogTierSchemaInput>;
|
|
30
32
|
export type BillingCatalogTier = z.infer<typeof BillingCatalogTierSchema>;
|
|
31
33
|
export {};
|
|
32
34
|
//# sourceMappingURL=catalog-tier.d.ts.map
|
|
@@ -3,19 +3,20 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
additionalUsage: z.ZodArray<z.ZodType<{
|
|
4
4
|
type: "AI_CREDIT" | "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
5
5
|
unitAmount: number;
|
|
6
|
-
},
|
|
6
|
+
}, import("./catalog-additional-usage.ts").BillingCatalogAdditionalUsageSchemaInput, z.core.$ZodTypeInternals<{
|
|
7
7
|
type: "AI_CREDIT" | "COMPANY" | "ENTITY_BRAND" | "ENTITY_VIEW" | "PERSON" | "PERSON_VIEW" | "WEB_SEARCH";
|
|
8
8
|
unitAmount: number;
|
|
9
|
-
},
|
|
9
|
+
}, import("./catalog-additional-usage.ts").BillingCatalogAdditionalUsageSchemaInput>>>;
|
|
10
10
|
creditPack: z.ZodArray<z.ZodType<{
|
|
11
11
|
amountCents: number;
|
|
12
12
|
pack: "USD_100" | "USD_25" | "USD_250" | "USD_50";
|
|
13
|
-
},
|
|
13
|
+
}, import("./catalog-credit-pack.ts").BillingCatalogCreditPackSchemaInput, z.core.$ZodTypeInternals<{
|
|
14
14
|
amountCents: number;
|
|
15
15
|
pack: "USD_100" | "USD_25" | "USD_250" | "USD_50";
|
|
16
|
-
},
|
|
16
|
+
}, import("./catalog-credit-pack.ts").BillingCatalogCreditPackSchemaInput>>>;
|
|
17
17
|
invoiceIncrementCents: z.ZodArray<z.ZodNumber>;
|
|
18
18
|
plan: z.ZodArray<z.ZodType<{
|
|
19
|
+
appStoreProductId?: string | null | undefined;
|
|
19
20
|
cadence: string;
|
|
20
21
|
currency: string;
|
|
21
22
|
displayName: string;
|
|
@@ -23,7 +24,8 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
23
24
|
plan: "PLUS_MONTHLY" | "PLUS_YEARLY" | "PRO_MONTHLY" | "PRO_YEARLY" | "PRO_YEARLY_PROMOTION";
|
|
24
25
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
25
26
|
unitAmount: number;
|
|
26
|
-
},
|
|
27
|
+
}, import("./catalog-plan.ts").BillingCatalogPlanSchemaInput, z.core.$ZodTypeInternals<{
|
|
28
|
+
appStoreProductId?: string | null | undefined;
|
|
27
29
|
cadence: string;
|
|
28
30
|
currency: string;
|
|
29
31
|
displayName: string;
|
|
@@ -31,7 +33,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
31
33
|
plan: "PLUS_MONTHLY" | "PLUS_YEARLY" | "PRO_MONTHLY" | "PRO_YEARLY" | "PRO_YEARLY_PROMOTION";
|
|
32
34
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
33
35
|
unitAmount: number;
|
|
34
|
-
},
|
|
36
|
+
}, import("./catalog-plan.ts").BillingCatalogPlanSchemaInput>>>;
|
|
35
37
|
tier: z.ZodArray<z.ZodType<{
|
|
36
38
|
aiCreditLimit?: number | null | undefined;
|
|
37
39
|
allowance: {
|
|
@@ -40,7 +42,7 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
40
42
|
}[];
|
|
41
43
|
displayName: string;
|
|
42
44
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
43
|
-
},
|
|
45
|
+
}, import("./catalog-tier.ts").BillingCatalogTierSchemaInput, z.core.$ZodTypeInternals<{
|
|
44
46
|
aiCreditLimit?: number | null | undefined;
|
|
45
47
|
allowance: {
|
|
46
48
|
limit?: number | null | undefined;
|
|
@@ -48,9 +50,11 @@ declare const BillingCatalogSchemaDefinition: z.ZodObject<{
|
|
|
48
50
|
}[];
|
|
49
51
|
displayName: string;
|
|
50
52
|
tier: "ESSENTIAL" | "PLUS" | "PRO" | "UNLIMITED";
|
|
51
|
-
},
|
|
53
|
+
}, import("./catalog-tier.ts").BillingCatalogTierSchemaInput>>>;
|
|
52
54
|
}, z.core.$strip>;
|
|
53
55
|
type BillingCatalogDefinition = z.infer<typeof BillingCatalogSchemaDefinition>;
|
|
56
|
+
export interface BillingCatalogSchemaInput extends z.input<typeof BillingCatalogSchemaDefinition> {
|
|
57
|
+
}
|
|
54
58
|
/**
|
|
55
59
|
* Every self-serve subscription tier with its monthly allowance caps, every plan Checkout sells, and the prices of usage past those caps. The Unlimited tier is not sold through Checkout and is omitted.
|
|
56
60
|
*
|
|
@@ -59,7 +63,7 @@ type BillingCatalogDefinition = z.infer<typeof BillingCatalogSchemaDefinition>;
|
|
|
59
63
|
* @contractShape billing.catalog
|
|
60
64
|
* @contractRole canonical
|
|
61
65
|
*/
|
|
62
|
-
export declare const BillingCatalogSchema: z.ZodType<BillingCatalogDefinition>;
|
|
66
|
+
export declare const BillingCatalogSchema: z.ZodType<BillingCatalogDefinition, BillingCatalogSchemaInput>;
|
|
63
67
|
export type BillingCatalog = z.infer<typeof BillingCatalogSchema>;
|
|
64
68
|
export {};
|
|
65
69
|
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -13,6 +13,8 @@ declare const BillingCheckoutMutationSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
}>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type BillingCheckoutMutationDefinition = z.infer<typeof BillingCheckoutMutationSchemaDefinition>;
|
|
16
|
+
export interface BillingCheckoutMutationSchemaInput extends z.input<typeof BillingCheckoutMutationSchemaDefinition> {
|
|
17
|
+
}
|
|
16
18
|
/**
|
|
17
19
|
* Caller-selected plan and Checkout presentation for server-owned Checkout creation.
|
|
18
20
|
*
|
|
@@ -21,7 +23,7 @@ type BillingCheckoutMutationDefinition = z.infer<typeof BillingCheckoutMutationS
|
|
|
21
23
|
* @contractShape billing.checkout-mutation
|
|
22
24
|
* @contractRole canonical
|
|
23
25
|
*/
|
|
24
|
-
export declare const BillingCheckoutMutationSchema: z.ZodType<BillingCheckoutMutationDefinition>;
|
|
26
|
+
export declare const BillingCheckoutMutationSchema: z.ZodType<BillingCheckoutMutationDefinition, BillingCheckoutMutationSchemaInput>;
|
|
25
27
|
export type BillingCheckoutMutation = z.infer<typeof BillingCheckoutMutationSchema>;
|
|
26
28
|
export {};
|
|
27
29
|
//# sourceMappingURL=checkout-mutation.d.ts.map
|
|
@@ -13,6 +13,8 @@ declare const BillingCheckoutSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type BillingCheckoutDefinition = z.infer<typeof BillingCheckoutSchemaDefinition>;
|
|
16
|
+
export interface BillingCheckoutSchemaInput extends z.input<typeof BillingCheckoutSchemaDefinition> {
|
|
17
|
+
}
|
|
16
18
|
/**
|
|
17
19
|
* Checkout Session destination or client secret and expiry without provider identifiers.
|
|
18
20
|
*
|
|
@@ -21,7 +23,7 @@ type BillingCheckoutDefinition = z.infer<typeof BillingCheckoutSchemaDefinition>
|
|
|
21
23
|
* @contractShape billing.checkout
|
|
22
24
|
* @contractRole canonical
|
|
23
25
|
*/
|
|
24
|
-
export declare const BillingCheckoutSchema: z.ZodType<BillingCheckoutDefinition>;
|
|
26
|
+
export declare const BillingCheckoutSchema: z.ZodType<BillingCheckoutDefinition, BillingCheckoutSchemaInput>;
|
|
25
27
|
export type BillingCheckout = z.infer<typeof BillingCheckoutSchema>;
|
|
26
28
|
export {};
|
|
27
29
|
//# sourceMappingURL=checkout.d.ts.map
|
|
@@ -10,6 +10,8 @@ declare const BillingPlanChangeMutationSchemaDefinition: z.ZodObject<{
|
|
|
10
10
|
prorationDate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
type BillingPlanChangeMutationDefinition = z.infer<typeof BillingPlanChangeMutationSchemaDefinition>;
|
|
13
|
+
export interface BillingPlanChangeMutationSchemaInput extends z.input<typeof BillingPlanChangeMutationSchemaDefinition> {
|
|
14
|
+
}
|
|
13
15
|
/**
|
|
14
16
|
* Caller-selected plan for changing a continuing AI Plus or AI Pro subscription.
|
|
15
17
|
*
|
|
@@ -19,7 +21,7 @@ type BillingPlanChangeMutationDefinition = z.infer<typeof BillingPlanChangeMutat
|
|
|
19
21
|
* @contractShape billing.plan-change-mutation
|
|
20
22
|
* @contractRole canonical
|
|
21
23
|
*/
|
|
22
|
-
export declare const BillingPlanChangeMutationSchema: z.ZodType<BillingPlanChangeMutationDefinition>;
|
|
24
|
+
export declare const BillingPlanChangeMutationSchema: z.ZodType<BillingPlanChangeMutationDefinition, BillingPlanChangeMutationSchemaInput>;
|
|
23
25
|
export type BillingPlanChangeMutation = z.infer<typeof BillingPlanChangeMutationSchema>;
|
|
24
26
|
export {};
|
|
25
27
|
//# sourceMappingURL=plan-change-mutation.d.ts.map
|
|
@@ -15,6 +15,8 @@ declare const BillingPlanChangePreviewSchemaDefinition: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
type BillingPlanChangePreviewDefinition = z.infer<typeof BillingPlanChangePreviewSchemaDefinition>;
|
|
18
|
+
export interface BillingPlanChangePreviewSchemaInput extends z.input<typeof BillingPlanChangePreviewSchemaDefinition> {
|
|
19
|
+
}
|
|
18
20
|
/**
|
|
19
21
|
* Preview of POST /v1/billing/plan-changes for the same plan: the amount charged on confirmation, when the plan takes effect, the renewal price after it, and the card that pays.
|
|
20
22
|
*
|
|
@@ -23,7 +25,7 @@ type BillingPlanChangePreviewDefinition = z.infer<typeof BillingPlanChangePrevie
|
|
|
23
25
|
* @contractShape billing.plan-change-preview
|
|
24
26
|
* @contractRole canonical
|
|
25
27
|
*/
|
|
26
|
-
export declare const BillingPlanChangePreviewSchema: z.ZodType<BillingPlanChangePreviewDefinition>;
|
|
28
|
+
export declare const BillingPlanChangePreviewSchema: z.ZodType<BillingPlanChangePreviewDefinition, BillingPlanChangePreviewSchemaInput>;
|
|
27
29
|
export type BillingPlanChangePreview = z.infer<typeof BillingPlanChangePreviewSchema>;
|
|
28
30
|
export {};
|
|
29
31
|
//# sourceMappingURL=plan-change-preview.d.ts.map
|
|
@@ -13,6 +13,8 @@ declare const BillingPlanChangeSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type BillingPlanChangeDefinition = z.infer<typeof BillingPlanChangeSchemaDefinition>;
|
|
16
|
+
export interface BillingPlanChangeSchemaInput extends z.input<typeof BillingPlanChangeSchemaDefinition> {
|
|
17
|
+
}
|
|
16
18
|
/**
|
|
17
19
|
* Plan change outcome: an upgrade applies now with a prorated invoice, a downgrade waits for the current period end.
|
|
18
20
|
*
|
|
@@ -21,7 +23,7 @@ type BillingPlanChangeDefinition = z.infer<typeof BillingPlanChangeSchemaDefinit
|
|
|
21
23
|
* @contractShape billing.plan-change
|
|
22
24
|
* @contractRole canonical
|
|
23
25
|
*/
|
|
24
|
-
export declare const BillingPlanChangeSchema: z.ZodType<BillingPlanChangeDefinition>;
|
|
26
|
+
export declare const BillingPlanChangeSchema: z.ZodType<BillingPlanChangeDefinition, BillingPlanChangeSchemaInput>;
|
|
25
27
|
export type BillingPlanChange = z.infer<typeof BillingPlanChangeSchema>;
|
|
26
28
|
export {};
|
|
27
29
|
//# sourceMappingURL=plan-change.d.ts.map
|
package/dist/billing/portal.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ declare const BillingPortalSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
url: z.ZodString;
|
|
4
4
|
}, z.core.$strip>;
|
|
5
5
|
type BillingPortalDefinition = z.infer<typeof BillingPortalSchemaDefinition>;
|
|
6
|
+
export interface BillingPortalSchemaInput extends z.input<typeof BillingPortalSchemaDefinition> {
|
|
7
|
+
}
|
|
6
8
|
/**
|
|
7
9
|
* Hosted Billing Portal destination without provider identifiers.
|
|
8
10
|
*
|
|
@@ -11,7 +13,7 @@ type BillingPortalDefinition = z.infer<typeof BillingPortalSchemaDefinition>;
|
|
|
11
13
|
* @contractShape billing.portal
|
|
12
14
|
* @contractRole canonical
|
|
13
15
|
*/
|
|
14
|
-
export declare const BillingPortalSchema: z.ZodType<BillingPortalDefinition>;
|
|
16
|
+
export declare const BillingPortalSchema: z.ZodType<BillingPortalDefinition, BillingPortalSchemaInput>;
|
|
15
17
|
export type BillingPortal = z.infer<typeof BillingPortalSchema>;
|
|
16
18
|
export {};
|
|
17
19
|
//# sourceMappingURL=portal.d.ts.map
|