@noodleseed/one 0.153.0 → 0.155.0
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/commands/app-purge-reconciliation-args.d.ts +28 -0
- package/dist/commands/app-purge-reconciliation-args.d.ts.map +1 -0
- package/dist/commands/app-purge-reconciliation-args.js +124 -0
- package/dist/commands/app-purge-reconciliation-args.js.map +1 -0
- package/dist/commands/app-purge-reconciliation-files.d.ts +8 -0
- package/dist/commands/app-purge-reconciliation-files.d.ts.map +1 -0
- package/dist/commands/app-purge-reconciliation-files.js +109 -0
- package/dist/commands/app-purge-reconciliation-files.js.map +1 -0
- package/dist/commands/app-purge-reconciliation-ops.d.ts +3 -0
- package/dist/commands/app-purge-reconciliation-ops.d.ts.map +1 -0
- package/dist/commands/app-purge-reconciliation-ops.js +190 -0
- package/dist/commands/app-purge-reconciliation-ops.js.map +1 -0
- package/dist/commands/billing-ops.d.ts.map +1 -1
- package/dist/commands/billing-ops.js +7 -0
- package/dist/commands/billing-ops.js.map +1 -1
- package/dist/commands/billing-org-transfer-files.d.ts +12 -0
- package/dist/commands/billing-org-transfer-files.d.ts.map +1 -0
- package/dist/commands/billing-org-transfer-files.js +112 -0
- package/dist/commands/billing-org-transfer-files.js.map +1 -0
- package/dist/commands/billing-org-transfer-ops.d.ts +4 -0
- package/dist/commands/billing-org-transfer-ops.d.ts.map +1 -0
- package/dist/commands/billing-org-transfer-ops.js +534 -0
- package/dist/commands/billing-org-transfer-ops.js.map +1 -0
- package/dist/commands/service-ops.d.ts.map +1 -1
- package/dist/commands/service-ops.js +4 -1
- package/dist/commands/service-ops.js.map +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/skill-embedded-assistant-ref.js +2 -0
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-suggestions.js +5 -3
- package/node_modules/@noodle-borg/assistant-gateway/dist/continuity-bounds.d.ts +36 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/continuity-bounds.js +52 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/continuity-store.d.ts +115 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/continuity-store.js +51 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/in-memory-continuity-store.d.ts +26 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/in-memory-continuity-store.js +80 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/model-request.d.ts +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/model-request.js +2 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/model-response-values.js +11 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/model-responses.js +1 -10
- package/node_modules/@noodle-borg/assistant-gateway/dist/model-stream.js +1 -10
- package/node_modules/@noodle-borg/assistant-gateway/dist/portable.d.ts +3 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/portable.js +3 -0
- package/node_modules/@noodle-borg/assistant-gateway/package.json +1 -1
- package/node_modules/@noodle-borg/authoring/dist/assistant.d.ts +35 -0
- package/node_modules/@noodle-borg/authoring/dist/assistant.js +4 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-account.js +96 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-billing.js +116 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/branding-schema.js +86 -0
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts +44 -25
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js +24 -76
- package/node_modules/@noodle-borg/control-plane/dist/app-purge-reconciliation-port.d.ts +25 -0
- package/node_modules/@noodle-borg/control-plane/dist/app-purge-reconciliation-port.js +10 -0
- package/node_modules/@noodle-borg/control-plane/dist/portable.d.ts +1 -0
- package/node_modules/@noodle-borg/control-plane/dist/portable.js +1 -0
- package/node_modules/@noodle-borg/control-plane/package.json +3 -1
- package/node_modules/@noodle-borg/service/dist/routes/app-purge-reconciliation.js +72 -0
- package/node_modules/@noodle-borg/service/dist/routes/control-plane.js +15 -2
- package/node_modules/@noodle-borg/service/dist/service.js +27 -1
- package/node_modules/@noodle-borg/service/dist/store/in-memory.js +4 -8
- package/node_modules/@noodle-borg/service/dist/store/json-file.js +6 -3
- package/node_modules/@noodle-borg/service/dist/store/records.js +20 -0
- package/node_modules/@noodle-borg/service/dist/store.d.ts +3 -2
- package/node_modules/@noodle-borg/service/package.json +1 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/app-purge-reconciliation.d.ts +177 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/app-purge-reconciliation.js +189 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/assistant.d.ts +1 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-org-transfer.d.ts +629 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-org-transfer.js +259 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/control-plane.d.ts +21 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/control-plane.js +23 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/index.d.ts +2 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/index.js +2 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/platform-account-reset.d.ts +4 -4
- package/node_modules/@noodleseed/assistant/package.json +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,629 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const BILLING_ORGANIZATION_TRANSFER_CANDIDATE_STATES: readonly ["available", "already_linked", "blocked"];
|
|
3
|
+
export declare const BILLING_ORGANIZATION_TRANSFER_WARNING_CODES: readonly ["currently_paid_elsewhere", "lower_plan", "capability_loss"];
|
|
4
|
+
export declare const BILLING_ORGANIZATION_TRANSFER_BLOCKER_CODES: readonly ["already_linked", "billing_setup_incomplete", "destination_ineligible", "destination_capacity_exceeded"];
|
|
5
|
+
export declare const BILLING_ORGANIZATION_TRANSFER_ERROR_CODES: readonly ["identity_required", "super_admin_required", "billing_transfer_target_not_found", "billing_setup_incomplete", "billing_destination_ineligible", "billing_destination_capacity_exceeded", "billing_transfer_already_linked", "billing_link_version_conflict", "billing_transfer_preview_stale", "billing_transfer_idempotency_conflict"];
|
|
6
|
+
export type BillingOrganizationTransferCandidateState = (typeof BILLING_ORGANIZATION_TRANSFER_CANDIDATE_STATES)[number];
|
|
7
|
+
export type BillingOrganizationTransferWarningCode = (typeof BILLING_ORGANIZATION_TRANSFER_WARNING_CODES)[number];
|
|
8
|
+
export type BillingOrganizationTransferBlockerCode = (typeof BILLING_ORGANIZATION_TRANSFER_BLOCKER_CODES)[number];
|
|
9
|
+
export declare const BillingOrganizationTransferCandidatesRequestSchema: z.ZodObject<{
|
|
10
|
+
query: z.ZodOptional<z.ZodString>;
|
|
11
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
12
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export type BillingOrganizationTransferCandidatesRequest = z.infer<typeof BillingOrganizationTransferCandidatesRequestSchema>;
|
|
15
|
+
export declare const BillingOrganizationTransferPreviewRequestSchema: z.ZodObject<{
|
|
16
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
17
|
+
destinationBillingAccountId: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export type BillingOrganizationTransferPreviewRequest = z.infer<typeof BillingOrganizationTransferPreviewRequestSchema>;
|
|
20
|
+
export declare const BillingOrganizationTransferApplyRequestSchema: z.ZodObject<{
|
|
21
|
+
expectedLinkVersion: z.ZodNumber;
|
|
22
|
+
previewChecksum: z.ZodString;
|
|
23
|
+
idempotencyKey: z.ZodString;
|
|
24
|
+
confirmed: z.ZodLiteral<true>;
|
|
25
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
26
|
+
destinationBillingAccountId: z.ZodString;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
export type BillingOrganizationTransferApplyRequest = z.infer<typeof BillingOrganizationTransferApplyRequestSchema>;
|
|
29
|
+
export declare const BillingAdministrationOrganizationSearchRequestSchema: z.ZodObject<{
|
|
30
|
+
query: z.ZodString;
|
|
31
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
32
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
export type BillingAdministrationOrganizationSearchRequest = z.infer<typeof BillingAdministrationOrganizationSearchRequestSchema>;
|
|
35
|
+
export declare const BillingAdministrationTransferPreviewRequestSchema: z.ZodObject<{
|
|
36
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
37
|
+
organizationSlug: z.ZodString;
|
|
38
|
+
destinationBillingAccountId: z.ZodString;
|
|
39
|
+
administrativeReason: z.ZodString;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export type BillingAdministrationTransferPreviewRequest = z.infer<typeof BillingAdministrationTransferPreviewRequestSchema>;
|
|
42
|
+
export declare const BillingAdministrationTransferApplyRequestSchema: z.ZodObject<{
|
|
43
|
+
expectedLinkVersion: z.ZodNumber;
|
|
44
|
+
previewChecksum: z.ZodString;
|
|
45
|
+
idempotencyKey: z.ZodString;
|
|
46
|
+
confirmed: z.ZodLiteral<true>;
|
|
47
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
48
|
+
organizationSlug: z.ZodString;
|
|
49
|
+
destinationBillingAccountId: z.ZodString;
|
|
50
|
+
administrativeReason: z.ZodString;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
export type BillingAdministrationTransferApplyRequest = z.infer<typeof BillingAdministrationTransferApplyRequestSchema>;
|
|
53
|
+
/** Builds strict service-output schemas or deeply additive client response readers. */
|
|
54
|
+
export declare function createBillingOrganizationTransferSchemas(loose: boolean): {
|
|
55
|
+
candidatesResponse: z.ZodObject<{
|
|
56
|
+
ok: z.ZodLiteral<true>;
|
|
57
|
+
data: z.ZodObject<{
|
|
58
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
59
|
+
items: z.ZodArray<z.ZodObject<{
|
|
60
|
+
organization: z.ZodObject<{
|
|
61
|
+
slug: z.ZodString;
|
|
62
|
+
displayName: z.ZodString;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
state: z.ZodEnum<{
|
|
65
|
+
blocked: "blocked";
|
|
66
|
+
available: "available";
|
|
67
|
+
already_linked: "already_linked";
|
|
68
|
+
}>;
|
|
69
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
70
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
71
|
+
lower_plan: "lower_plan";
|
|
72
|
+
capability_loss: "capability_loss";
|
|
73
|
+
}>>;
|
|
74
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
75
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
76
|
+
already_linked: "already_linked";
|
|
77
|
+
destination_ineligible: "destination_ineligible";
|
|
78
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
79
|
+
}>>;
|
|
80
|
+
}, z.core.$strict>>;
|
|
81
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
}, z.core.$strict>;
|
|
84
|
+
previewResponse: z.ZodObject<{
|
|
85
|
+
ok: z.ZodLiteral<true>;
|
|
86
|
+
data: z.ZodObject<{
|
|
87
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
88
|
+
organization: z.ZodObject<{
|
|
89
|
+
slug: z.ZodString;
|
|
90
|
+
displayName: z.ZodString;
|
|
91
|
+
}, z.core.$strict>;
|
|
92
|
+
destination: z.ZodObject<{
|
|
93
|
+
id: z.ZodString;
|
|
94
|
+
displayName: z.ZodString;
|
|
95
|
+
state: z.ZodEnum<{
|
|
96
|
+
active: "active";
|
|
97
|
+
inactive: "inactive";
|
|
98
|
+
draft: "draft";
|
|
99
|
+
}>;
|
|
100
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
101
|
+
code: z.ZodString;
|
|
102
|
+
version: z.ZodNumber;
|
|
103
|
+
}, z.core.$strict>>;
|
|
104
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
105
|
+
}, z.core.$strict>;
|
|
106
|
+
currentPlan: z.ZodNullable<z.ZodObject<{
|
|
107
|
+
code: z.ZodString;
|
|
108
|
+
version: z.ZodNumber;
|
|
109
|
+
}, z.core.$strict>>;
|
|
110
|
+
resultingPlan: z.ZodNullable<z.ZodObject<{
|
|
111
|
+
code: z.ZodString;
|
|
112
|
+
version: z.ZodNumber;
|
|
113
|
+
}, z.core.$strict>>;
|
|
114
|
+
linkedOrganizationCounts: z.ZodObject<{
|
|
115
|
+
current: z.ZodNumber;
|
|
116
|
+
prospective: z.ZodNumber;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
productionCapacity: z.ZodObject<{
|
|
119
|
+
current: z.ZodNumber;
|
|
120
|
+
organizationContribution: z.ZodNumber;
|
|
121
|
+
prospective: z.ZodNumber;
|
|
122
|
+
limit: z.ZodNumber;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
lostCapabilityIds: z.ZodArray<z.ZodString>;
|
|
125
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
126
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
127
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
128
|
+
lower_plan: "lower_plan";
|
|
129
|
+
capability_loss: "capability_loss";
|
|
130
|
+
}>>;
|
|
131
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
132
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
133
|
+
already_linked: "already_linked";
|
|
134
|
+
destination_ineligible: "destination_ineligible";
|
|
135
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
136
|
+
}>>;
|
|
137
|
+
expectedLinkVersion: z.ZodNumber;
|
|
138
|
+
previewChecksum: z.ZodString;
|
|
139
|
+
previewedAt: z.ZodString;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
applyResponse: z.ZodObject<{
|
|
143
|
+
ok: z.ZodLiteral<true>;
|
|
144
|
+
data: z.ZodObject<{
|
|
145
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
146
|
+
operationId: z.ZodString;
|
|
147
|
+
organization: z.ZodObject<{
|
|
148
|
+
slug: z.ZodString;
|
|
149
|
+
displayName: z.ZodString;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
destination: z.ZodObject<{
|
|
152
|
+
id: z.ZodString;
|
|
153
|
+
displayName: z.ZodString;
|
|
154
|
+
state: z.ZodEnum<{
|
|
155
|
+
active: "active";
|
|
156
|
+
inactive: "inactive";
|
|
157
|
+
draft: "draft";
|
|
158
|
+
}>;
|
|
159
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
160
|
+
code: z.ZodString;
|
|
161
|
+
version: z.ZodNumber;
|
|
162
|
+
}, z.core.$strict>>;
|
|
163
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
resultingPlan: z.ZodObject<{
|
|
166
|
+
code: z.ZodString;
|
|
167
|
+
version: z.ZodNumber;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
productionCapacity: z.ZodObject<{
|
|
170
|
+
current: z.ZodNumber;
|
|
171
|
+
organizationContribution: z.ZodNumber;
|
|
172
|
+
prospective: z.ZodNumber;
|
|
173
|
+
limit: z.ZodNumber;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
176
|
+
resultingLinkVersion: z.ZodNumber;
|
|
177
|
+
effectiveAt: z.ZodString;
|
|
178
|
+
recordedAt: z.ZodString;
|
|
179
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
180
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
181
|
+
lower_plan: "lower_plan";
|
|
182
|
+
capability_loss: "capability_loss";
|
|
183
|
+
}>>;
|
|
184
|
+
replayed: z.ZodBoolean;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
}, z.core.$strict>;
|
|
187
|
+
administrationOrganizationsResponse: z.ZodObject<{
|
|
188
|
+
ok: z.ZodLiteral<true>;
|
|
189
|
+
data: z.ZodObject<{
|
|
190
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
191
|
+
items: z.ZodArray<z.ZodObject<{
|
|
192
|
+
organization: z.ZodObject<{
|
|
193
|
+
slug: z.ZodString;
|
|
194
|
+
displayName: z.ZodString;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
}, z.core.$strict>>;
|
|
197
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
198
|
+
}, z.core.$strict>;
|
|
199
|
+
}, z.core.$strict>;
|
|
200
|
+
};
|
|
201
|
+
export declare const BillingOrganizationTransferCandidatesResponseSchema: z.ZodObject<{
|
|
202
|
+
ok: z.ZodLiteral<true>;
|
|
203
|
+
data: z.ZodObject<{
|
|
204
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
205
|
+
items: z.ZodArray<z.ZodObject<{
|
|
206
|
+
organization: z.ZodObject<{
|
|
207
|
+
slug: z.ZodString;
|
|
208
|
+
displayName: z.ZodString;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
state: z.ZodEnum<{
|
|
211
|
+
blocked: "blocked";
|
|
212
|
+
available: "available";
|
|
213
|
+
already_linked: "already_linked";
|
|
214
|
+
}>;
|
|
215
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
216
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
217
|
+
lower_plan: "lower_plan";
|
|
218
|
+
capability_loss: "capability_loss";
|
|
219
|
+
}>>;
|
|
220
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
221
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
222
|
+
already_linked: "already_linked";
|
|
223
|
+
destination_ineligible: "destination_ineligible";
|
|
224
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
225
|
+
}>>;
|
|
226
|
+
}, z.core.$strict>>;
|
|
227
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
228
|
+
}, z.core.$strict>;
|
|
229
|
+
}, z.core.$strict>;
|
|
230
|
+
export declare const BillingOrganizationTransferPreviewResponseSchema: z.ZodObject<{
|
|
231
|
+
ok: z.ZodLiteral<true>;
|
|
232
|
+
data: z.ZodObject<{
|
|
233
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
234
|
+
organization: z.ZodObject<{
|
|
235
|
+
slug: z.ZodString;
|
|
236
|
+
displayName: z.ZodString;
|
|
237
|
+
}, z.core.$strict>;
|
|
238
|
+
destination: z.ZodObject<{
|
|
239
|
+
id: z.ZodString;
|
|
240
|
+
displayName: z.ZodString;
|
|
241
|
+
state: z.ZodEnum<{
|
|
242
|
+
active: "active";
|
|
243
|
+
inactive: "inactive";
|
|
244
|
+
draft: "draft";
|
|
245
|
+
}>;
|
|
246
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
247
|
+
code: z.ZodString;
|
|
248
|
+
version: z.ZodNumber;
|
|
249
|
+
}, z.core.$strict>>;
|
|
250
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
251
|
+
}, z.core.$strict>;
|
|
252
|
+
currentPlan: z.ZodNullable<z.ZodObject<{
|
|
253
|
+
code: z.ZodString;
|
|
254
|
+
version: z.ZodNumber;
|
|
255
|
+
}, z.core.$strict>>;
|
|
256
|
+
resultingPlan: z.ZodNullable<z.ZodObject<{
|
|
257
|
+
code: z.ZodString;
|
|
258
|
+
version: z.ZodNumber;
|
|
259
|
+
}, z.core.$strict>>;
|
|
260
|
+
linkedOrganizationCounts: z.ZodObject<{
|
|
261
|
+
current: z.ZodNumber;
|
|
262
|
+
prospective: z.ZodNumber;
|
|
263
|
+
}, z.core.$strict>;
|
|
264
|
+
productionCapacity: z.ZodObject<{
|
|
265
|
+
current: z.ZodNumber;
|
|
266
|
+
organizationContribution: z.ZodNumber;
|
|
267
|
+
prospective: z.ZodNumber;
|
|
268
|
+
limit: z.ZodNumber;
|
|
269
|
+
}, z.core.$strict>;
|
|
270
|
+
lostCapabilityIds: z.ZodArray<z.ZodString>;
|
|
271
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
272
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
273
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
274
|
+
lower_plan: "lower_plan";
|
|
275
|
+
capability_loss: "capability_loss";
|
|
276
|
+
}>>;
|
|
277
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
278
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
279
|
+
already_linked: "already_linked";
|
|
280
|
+
destination_ineligible: "destination_ineligible";
|
|
281
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
282
|
+
}>>;
|
|
283
|
+
expectedLinkVersion: z.ZodNumber;
|
|
284
|
+
previewChecksum: z.ZodString;
|
|
285
|
+
previewedAt: z.ZodString;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
}, z.core.$strict>;
|
|
288
|
+
export declare const BillingOrganizationTransferApplyResponseSchema: z.ZodObject<{
|
|
289
|
+
ok: z.ZodLiteral<true>;
|
|
290
|
+
data: z.ZodObject<{
|
|
291
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
292
|
+
operationId: z.ZodString;
|
|
293
|
+
organization: z.ZodObject<{
|
|
294
|
+
slug: z.ZodString;
|
|
295
|
+
displayName: z.ZodString;
|
|
296
|
+
}, z.core.$strict>;
|
|
297
|
+
destination: z.ZodObject<{
|
|
298
|
+
id: z.ZodString;
|
|
299
|
+
displayName: z.ZodString;
|
|
300
|
+
state: z.ZodEnum<{
|
|
301
|
+
active: "active";
|
|
302
|
+
inactive: "inactive";
|
|
303
|
+
draft: "draft";
|
|
304
|
+
}>;
|
|
305
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
306
|
+
code: z.ZodString;
|
|
307
|
+
version: z.ZodNumber;
|
|
308
|
+
}, z.core.$strict>>;
|
|
309
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
310
|
+
}, z.core.$strict>;
|
|
311
|
+
resultingPlan: z.ZodObject<{
|
|
312
|
+
code: z.ZodString;
|
|
313
|
+
version: z.ZodNumber;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
productionCapacity: z.ZodObject<{
|
|
316
|
+
current: z.ZodNumber;
|
|
317
|
+
organizationContribution: z.ZodNumber;
|
|
318
|
+
prospective: z.ZodNumber;
|
|
319
|
+
limit: z.ZodNumber;
|
|
320
|
+
}, z.core.$strict>;
|
|
321
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
322
|
+
resultingLinkVersion: z.ZodNumber;
|
|
323
|
+
effectiveAt: z.ZodString;
|
|
324
|
+
recordedAt: z.ZodString;
|
|
325
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
326
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
327
|
+
lower_plan: "lower_plan";
|
|
328
|
+
capability_loss: "capability_loss";
|
|
329
|
+
}>>;
|
|
330
|
+
replayed: z.ZodBoolean;
|
|
331
|
+
}, z.core.$strict>;
|
|
332
|
+
}, z.core.$strict>;
|
|
333
|
+
export declare const BillingAdministrationOrganizationsResponseSchema: z.ZodObject<{
|
|
334
|
+
ok: z.ZodLiteral<true>;
|
|
335
|
+
data: z.ZodObject<{
|
|
336
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
337
|
+
items: z.ZodArray<z.ZodObject<{
|
|
338
|
+
organization: z.ZodObject<{
|
|
339
|
+
slug: z.ZodString;
|
|
340
|
+
displayName: z.ZodString;
|
|
341
|
+
}, z.core.$strict>;
|
|
342
|
+
}, z.core.$strict>>;
|
|
343
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
344
|
+
}, z.core.$strict>;
|
|
345
|
+
}, z.core.$strict>;
|
|
346
|
+
export declare const BillingOrganizationTransferCandidatesClientResponseSchema: z.ZodObject<{
|
|
347
|
+
ok: z.ZodLiteral<true>;
|
|
348
|
+
data: z.ZodObject<{
|
|
349
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
350
|
+
items: z.ZodArray<z.ZodObject<{
|
|
351
|
+
organization: z.ZodObject<{
|
|
352
|
+
slug: z.ZodString;
|
|
353
|
+
displayName: z.ZodString;
|
|
354
|
+
}, z.core.$strict>;
|
|
355
|
+
state: z.ZodEnum<{
|
|
356
|
+
blocked: "blocked";
|
|
357
|
+
available: "available";
|
|
358
|
+
already_linked: "already_linked";
|
|
359
|
+
}>;
|
|
360
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
361
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
362
|
+
lower_plan: "lower_plan";
|
|
363
|
+
capability_loss: "capability_loss";
|
|
364
|
+
}>>;
|
|
365
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
366
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
367
|
+
already_linked: "already_linked";
|
|
368
|
+
destination_ineligible: "destination_ineligible";
|
|
369
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
370
|
+
}>>;
|
|
371
|
+
}, z.core.$strict>>;
|
|
372
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
373
|
+
}, z.core.$strict>;
|
|
374
|
+
}, z.core.$strict>;
|
|
375
|
+
export declare const BillingOrganizationTransferPreviewClientResponseSchema: z.ZodObject<{
|
|
376
|
+
ok: z.ZodLiteral<true>;
|
|
377
|
+
data: z.ZodObject<{
|
|
378
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
379
|
+
organization: z.ZodObject<{
|
|
380
|
+
slug: z.ZodString;
|
|
381
|
+
displayName: z.ZodString;
|
|
382
|
+
}, z.core.$strict>;
|
|
383
|
+
destination: z.ZodObject<{
|
|
384
|
+
id: z.ZodString;
|
|
385
|
+
displayName: z.ZodString;
|
|
386
|
+
state: z.ZodEnum<{
|
|
387
|
+
active: "active";
|
|
388
|
+
inactive: "inactive";
|
|
389
|
+
draft: "draft";
|
|
390
|
+
}>;
|
|
391
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
392
|
+
code: z.ZodString;
|
|
393
|
+
version: z.ZodNumber;
|
|
394
|
+
}, z.core.$strict>>;
|
|
395
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
396
|
+
}, z.core.$strict>;
|
|
397
|
+
currentPlan: z.ZodNullable<z.ZodObject<{
|
|
398
|
+
code: z.ZodString;
|
|
399
|
+
version: z.ZodNumber;
|
|
400
|
+
}, z.core.$strict>>;
|
|
401
|
+
resultingPlan: z.ZodNullable<z.ZodObject<{
|
|
402
|
+
code: z.ZodString;
|
|
403
|
+
version: z.ZodNumber;
|
|
404
|
+
}, z.core.$strict>>;
|
|
405
|
+
linkedOrganizationCounts: z.ZodObject<{
|
|
406
|
+
current: z.ZodNumber;
|
|
407
|
+
prospective: z.ZodNumber;
|
|
408
|
+
}, z.core.$strict>;
|
|
409
|
+
productionCapacity: z.ZodObject<{
|
|
410
|
+
current: z.ZodNumber;
|
|
411
|
+
organizationContribution: z.ZodNumber;
|
|
412
|
+
prospective: z.ZodNumber;
|
|
413
|
+
limit: z.ZodNumber;
|
|
414
|
+
}, z.core.$strict>;
|
|
415
|
+
lostCapabilityIds: z.ZodArray<z.ZodString>;
|
|
416
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
417
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
418
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
419
|
+
lower_plan: "lower_plan";
|
|
420
|
+
capability_loss: "capability_loss";
|
|
421
|
+
}>>;
|
|
422
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
423
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
424
|
+
already_linked: "already_linked";
|
|
425
|
+
destination_ineligible: "destination_ineligible";
|
|
426
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
427
|
+
}>>;
|
|
428
|
+
expectedLinkVersion: z.ZodNumber;
|
|
429
|
+
previewChecksum: z.ZodString;
|
|
430
|
+
previewedAt: z.ZodString;
|
|
431
|
+
}, z.core.$strict>;
|
|
432
|
+
}, z.core.$strict>;
|
|
433
|
+
export declare const BillingOrganizationTransferApplyClientResponseSchema: z.ZodObject<{
|
|
434
|
+
ok: z.ZodLiteral<true>;
|
|
435
|
+
data: z.ZodObject<{
|
|
436
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
437
|
+
operationId: z.ZodString;
|
|
438
|
+
organization: z.ZodObject<{
|
|
439
|
+
slug: z.ZodString;
|
|
440
|
+
displayName: z.ZodString;
|
|
441
|
+
}, z.core.$strict>;
|
|
442
|
+
destination: z.ZodObject<{
|
|
443
|
+
id: z.ZodString;
|
|
444
|
+
displayName: z.ZodString;
|
|
445
|
+
state: z.ZodEnum<{
|
|
446
|
+
active: "active";
|
|
447
|
+
inactive: "inactive";
|
|
448
|
+
draft: "draft";
|
|
449
|
+
}>;
|
|
450
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
451
|
+
code: z.ZodString;
|
|
452
|
+
version: z.ZodNumber;
|
|
453
|
+
}, z.core.$strict>>;
|
|
454
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
455
|
+
}, z.core.$strict>;
|
|
456
|
+
resultingPlan: z.ZodObject<{
|
|
457
|
+
code: z.ZodString;
|
|
458
|
+
version: z.ZodNumber;
|
|
459
|
+
}, z.core.$strict>;
|
|
460
|
+
productionCapacity: z.ZodObject<{
|
|
461
|
+
current: z.ZodNumber;
|
|
462
|
+
organizationContribution: z.ZodNumber;
|
|
463
|
+
prospective: z.ZodNumber;
|
|
464
|
+
limit: z.ZodNumber;
|
|
465
|
+
}, z.core.$strict>;
|
|
466
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
467
|
+
resultingLinkVersion: z.ZodNumber;
|
|
468
|
+
effectiveAt: z.ZodString;
|
|
469
|
+
recordedAt: z.ZodString;
|
|
470
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
471
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
472
|
+
lower_plan: "lower_plan";
|
|
473
|
+
capability_loss: "capability_loss";
|
|
474
|
+
}>>;
|
|
475
|
+
replayed: z.ZodBoolean;
|
|
476
|
+
}, z.core.$strict>;
|
|
477
|
+
}, z.core.$strict>;
|
|
478
|
+
export declare const BillingAdministrationOrganizationsClientResponseSchema: z.ZodObject<{
|
|
479
|
+
ok: z.ZodLiteral<true>;
|
|
480
|
+
data: z.ZodObject<{
|
|
481
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
482
|
+
items: z.ZodArray<z.ZodObject<{
|
|
483
|
+
organization: z.ZodObject<{
|
|
484
|
+
slug: z.ZodString;
|
|
485
|
+
displayName: z.ZodString;
|
|
486
|
+
}, z.core.$strict>;
|
|
487
|
+
}, z.core.$strict>>;
|
|
488
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
489
|
+
}, z.core.$strict>;
|
|
490
|
+
}, z.core.$strict>;
|
|
491
|
+
/** Canonicalize the control-plane URL carried by local exact-review evidence. */
|
|
492
|
+
export declare function normalizeBillingOrganizationTransferServiceOrigin(value: string): string;
|
|
493
|
+
export declare const BillingOrganizationTransferArtifactSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
494
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
495
|
+
serviceOrigin: z.ZodString;
|
|
496
|
+
authorityPath: z.ZodLiteral<"customer">;
|
|
497
|
+
request: z.ZodObject<{
|
|
498
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
499
|
+
destinationBillingAccountId: z.ZodString;
|
|
500
|
+
organizationSlug: z.ZodString;
|
|
501
|
+
}, z.core.$strict>;
|
|
502
|
+
preview: z.ZodObject<{
|
|
503
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
504
|
+
organization: z.ZodObject<{
|
|
505
|
+
slug: z.ZodString;
|
|
506
|
+
displayName: z.ZodString;
|
|
507
|
+
}, z.core.$strict>;
|
|
508
|
+
destination: z.ZodObject<{
|
|
509
|
+
id: z.ZodString;
|
|
510
|
+
displayName: z.ZodString;
|
|
511
|
+
state: z.ZodEnum<{
|
|
512
|
+
active: "active";
|
|
513
|
+
inactive: "inactive";
|
|
514
|
+
draft: "draft";
|
|
515
|
+
}>;
|
|
516
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
517
|
+
code: z.ZodString;
|
|
518
|
+
version: z.ZodNumber;
|
|
519
|
+
}, z.core.$strict>>;
|
|
520
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
521
|
+
}, z.core.$strict>;
|
|
522
|
+
currentPlan: z.ZodNullable<z.ZodObject<{
|
|
523
|
+
code: z.ZodString;
|
|
524
|
+
version: z.ZodNumber;
|
|
525
|
+
}, z.core.$strict>>;
|
|
526
|
+
resultingPlan: z.ZodNullable<z.ZodObject<{
|
|
527
|
+
code: z.ZodString;
|
|
528
|
+
version: z.ZodNumber;
|
|
529
|
+
}, z.core.$strict>>;
|
|
530
|
+
linkedOrganizationCounts: z.ZodObject<{
|
|
531
|
+
current: z.ZodNumber;
|
|
532
|
+
prospective: z.ZodNumber;
|
|
533
|
+
}, z.core.$strict>;
|
|
534
|
+
productionCapacity: z.ZodObject<{
|
|
535
|
+
current: z.ZodNumber;
|
|
536
|
+
organizationContribution: z.ZodNumber;
|
|
537
|
+
prospective: z.ZodNumber;
|
|
538
|
+
limit: z.ZodNumber;
|
|
539
|
+
}, z.core.$strict>;
|
|
540
|
+
lostCapabilityIds: z.ZodArray<z.ZodString>;
|
|
541
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
542
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
543
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
544
|
+
lower_plan: "lower_plan";
|
|
545
|
+
capability_loss: "capability_loss";
|
|
546
|
+
}>>;
|
|
547
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
548
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
549
|
+
already_linked: "already_linked";
|
|
550
|
+
destination_ineligible: "destination_ineligible";
|
|
551
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
552
|
+
}>>;
|
|
553
|
+
expectedLinkVersion: z.ZodNumber;
|
|
554
|
+
previewChecksum: z.ZodString;
|
|
555
|
+
previewedAt: z.ZodString;
|
|
556
|
+
}, z.core.$strict>;
|
|
557
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
558
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
559
|
+
serviceOrigin: z.ZodString;
|
|
560
|
+
authorityPath: z.ZodLiteral<"super_admin">;
|
|
561
|
+
request: z.ZodObject<{
|
|
562
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
563
|
+
organizationSlug: z.ZodString;
|
|
564
|
+
destinationBillingAccountId: z.ZodString;
|
|
565
|
+
administrativeReason: z.ZodString;
|
|
566
|
+
}, z.core.$strict>;
|
|
567
|
+
preview: z.ZodObject<{
|
|
568
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
569
|
+
organization: z.ZodObject<{
|
|
570
|
+
slug: z.ZodString;
|
|
571
|
+
displayName: z.ZodString;
|
|
572
|
+
}, z.core.$strict>;
|
|
573
|
+
destination: z.ZodObject<{
|
|
574
|
+
id: z.ZodString;
|
|
575
|
+
displayName: z.ZodString;
|
|
576
|
+
state: z.ZodEnum<{
|
|
577
|
+
active: "active";
|
|
578
|
+
inactive: "inactive";
|
|
579
|
+
draft: "draft";
|
|
580
|
+
}>;
|
|
581
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
582
|
+
code: z.ZodString;
|
|
583
|
+
version: z.ZodNumber;
|
|
584
|
+
}, z.core.$strict>>;
|
|
585
|
+
linkedOrganizationCount: z.ZodNumber;
|
|
586
|
+
}, z.core.$strict>;
|
|
587
|
+
currentPlan: z.ZodNullable<z.ZodObject<{
|
|
588
|
+
code: z.ZodString;
|
|
589
|
+
version: z.ZodNumber;
|
|
590
|
+
}, z.core.$strict>>;
|
|
591
|
+
resultingPlan: z.ZodNullable<z.ZodObject<{
|
|
592
|
+
code: z.ZodString;
|
|
593
|
+
version: z.ZodNumber;
|
|
594
|
+
}, z.core.$strict>>;
|
|
595
|
+
linkedOrganizationCounts: z.ZodObject<{
|
|
596
|
+
current: z.ZodNumber;
|
|
597
|
+
prospective: z.ZodNumber;
|
|
598
|
+
}, z.core.$strict>;
|
|
599
|
+
productionCapacity: z.ZodObject<{
|
|
600
|
+
current: z.ZodNumber;
|
|
601
|
+
organizationContribution: z.ZodNumber;
|
|
602
|
+
prospective: z.ZodNumber;
|
|
603
|
+
limit: z.ZodNumber;
|
|
604
|
+
}, z.core.$strict>;
|
|
605
|
+
lostCapabilityIds: z.ZodArray<z.ZodString>;
|
|
606
|
+
fallback: z.ZodLiteral<"home_free">;
|
|
607
|
+
warnings: z.ZodArray<z.ZodEnum<{
|
|
608
|
+
currently_paid_elsewhere: "currently_paid_elsewhere";
|
|
609
|
+
lower_plan: "lower_plan";
|
|
610
|
+
capability_loss: "capability_loss";
|
|
611
|
+
}>>;
|
|
612
|
+
blockers: z.ZodArray<z.ZodEnum<{
|
|
613
|
+
billing_setup_incomplete: "billing_setup_incomplete";
|
|
614
|
+
already_linked: "already_linked";
|
|
615
|
+
destination_ineligible: "destination_ineligible";
|
|
616
|
+
destination_capacity_exceeded: "destination_capacity_exceeded";
|
|
617
|
+
}>>;
|
|
618
|
+
expectedLinkVersion: z.ZodNumber;
|
|
619
|
+
previewChecksum: z.ZodString;
|
|
620
|
+
previewedAt: z.ZodString;
|
|
621
|
+
}, z.core.$strict>;
|
|
622
|
+
}, z.core.$strict>], "authorityPath">;
|
|
623
|
+
export type BillingOrganizationTransferArtifact = z.infer<typeof BillingOrganizationTransferArtifactSchema>;
|
|
624
|
+
export type BillingOrganizationTransferAuthorityPath = BillingOrganizationTransferArtifact['authorityPath'];
|
|
625
|
+
export type BillingOrganizationTransferCandidatesResponse = z.infer<typeof BillingOrganizationTransferCandidatesResponseSchema>;
|
|
626
|
+
export type BillingOrganizationTransferPreviewResponse = z.infer<typeof BillingOrganizationTransferPreviewResponseSchema>;
|
|
627
|
+
export type BillingOrganizationTransferApplyResponse = z.infer<typeof BillingOrganizationTransferApplyResponseSchema>;
|
|
628
|
+
export type BillingAdministrationOrganizationsResponse = z.infer<typeof BillingAdministrationOrganizationsResponseSchema>;
|
|
629
|
+
//# sourceMappingURL=billing-org-transfer.d.ts.map
|