@fleetless/contracts 12.1.0-next.1 → 13.0.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/CHANGELOG.md +40 -0
- package/artifacts/openapi.json +15968 -13701
- package/artifacts/routes.json +123 -1
- package/artifacts/schema/billing-decision-display-response.schema.json +749 -504
- package/artifacts/schema/billing-decision-period.schema.json +573 -504
- package/artifacts/schema/billing-decision-snapshot.schema.json +749 -504
- package/artifacts/schema/journal-access-proof.schema.json +342 -0
- package/artifacts/schema/journal-deletion-manifest.schema.json +2103 -0
- package/artifacts/schema/journal-evidence-ref.schema.json +596 -0
- package/artifacts/schema/journal-export-item.schema.json +2910 -0
- package/artifacts/schema/journal-final-seal-body.schema.json +160 -0
- package/artifacts/schema/journal-final-seal.schema.json +169 -0
- package/artifacts/schema/journal-first-checkpoint-body.schema.json +101 -0
- package/artifacts/schema/journal-first-checkpoint.schema.json +111 -0
- package/artifacts/schema/journal-generation-checkpoint-body.schema.json +88 -0
- package/artifacts/schema/journal-generation-checkpoint.schema.json +97 -0
- package/artifacts/schema/journal-intent-v2-body.schema.json +4166 -0
- package/artifacts/schema/journal-intent-v2.schema.json +4616 -0
- package/artifacts/schema/journal-manifest-batch.schema.json +1236 -0
- package/artifacts/schema/journal-manifest-binding.schema.json +3541 -0
- package/artifacts/schema/journal-manifest-entry.schema.json +106 -0
- package/artifacts/schema/journal-manifest-intent-projection.schema.json +1428 -0
- package/artifacts/schema/journal-manifest-row.schema.json +578 -0
- package/artifacts/schema/journal-manifest-scope.schema.json +135 -0
- package/artifacts/schema/journal-mirror-attempt.schema.json +182 -0
- package/artifacts/schema/journal-mixed-export.schema.json +3115 -0
- package/artifacts/schema/journal-registry-activation-receipt-body.schema.json +304 -0
- package/artifacts/schema/journal-registry-activation-receipt.schema.json +324 -0
- package/artifacts/schema/journal-registry-transition-body.schema.json +113 -0
- package/artifacts/schema/journal-registry-transition.schema.json +123 -0
- package/artifacts/schema/journal-replay-receipt-body.schema.json +1252 -0
- package/artifacts/schema/journal-replay-receipt.schema.json +1261 -0
- package/artifacts/schema/journal-v2-activation-checkpoint-body.schema.json +99 -0
- package/artifacts/schema/journal-v2-activation-checkpoint.schema.json +108 -0
- package/artifacts/schema/legal-acceptance-list-response.schema.json +31 -2
- package/artifacts/schema/legal-acceptance-version-row.schema.json +31 -2
- package/artifacts/schema/legal-offer-conflict-details.schema.json +32 -0
- package/artifacts/schema/legal-offer-decision-lookup-query.schema.json +16 -0
- package/artifacts/schema/legal-offer-decision-request.schema.json +37 -0
- package/artifacts/schema/legal-offer-decision-result.schema.json +409 -0
- package/artifacts/schema/legal-offer-decision-snapshot.schema.json +678 -0
- package/artifacts/schema/legal-offer-display-request.schema.json +16 -0
- package/artifacts/schema/legal-offer-display-response.schema.json +712 -0
- package/artifacts/schema/legal-offer-list-query.schema.json +17 -0
- package/artifacts/schema/legal-offer-list-response.schema.json +347 -0
- package/artifacts/schema/legal-offer-summary.schema.json +321 -0
- package/artifacts/schema/plan-change-prepare-response.schema.json +749 -504
- package/dist/billing.d.ts +361 -275
- package/dist/billing.js +25 -4
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +2 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +6 -0
- package/dist/journal-controls.d.ts +228 -0
- package/dist/journal-controls.js +111 -0
- package/dist/journal-intents.d.ts +1695 -0
- package/dist/journal-intents.js +97 -0
- package/dist/journal-manifests.d.ts +1670 -0
- package/dist/journal-manifests.js +182 -0
- package/dist/journal-restore.d.ts +1871 -0
- package/dist/journal-restore.js +324 -0
- package/dist/journal-seals.d.ts +147 -0
- package/dist/journal-seals.js +89 -0
- package/dist/legal-acceptances.d.ts +4 -0
- package/dist/legal-acceptances.js +9 -2
- package/dist/legal-offers.d.ts +468 -0
- package/dist/legal-offers.js +91 -0
- package/dist/realtime.d.ts +2 -2
- package/dist/routes.js +54 -0
- package/package.json +1 -1
package/dist/billing.d.ts
CHANGED
|
@@ -375,7 +375,8 @@ export declare const billingDecisionAmounts: z.ZodObject<{
|
|
|
375
375
|
renewal_net_cents: z.ZodNumber;
|
|
376
376
|
}, z.core.$strict>;
|
|
377
377
|
export type BillingDecisionAmounts = z.infer<typeof billingDecisionAmounts>;
|
|
378
|
-
export declare const billingDecisionPeriod: z.ZodObject<{
|
|
378
|
+
export declare const billingDecisionPeriod: z.ZodUnion<readonly [z.ZodObject<{
|
|
379
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
379
380
|
display_time_zone: z.ZodEnum<{
|
|
380
381
|
UTC: "UTC";
|
|
381
382
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -812,7 +813,17 @@ export declare const billingDecisionPeriod: z.ZodObject<{
|
|
|
812
813
|
at: z.ZodISODateTime;
|
|
813
814
|
at_period_end: z.ZodBoolean;
|
|
814
815
|
}, z.core.$strict>], "mode">;
|
|
815
|
-
}, z.core.$strict
|
|
816
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
817
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
818
|
+
cycle: z.ZodLiteral<"monthly">;
|
|
819
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
820
|
+
period_statement: z.ZodLiteral<"First billing period: one full month from successful payment; renews at the end of that period">;
|
|
821
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
822
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
823
|
+
cycle: z.ZodLiteral<"yearly">;
|
|
824
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
825
|
+
period_statement: z.ZodLiteral<"First billing period: one full year from successful payment; renews at the end of that period">;
|
|
826
|
+
}, z.core.$strict>], "cycle">]>;
|
|
816
827
|
export type BillingDecisionPeriod = z.infer<typeof billingDecisionPeriod>;
|
|
817
828
|
export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
818
829
|
amounts: z.ZodObject<{
|
|
@@ -849,7 +860,8 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
849
860
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
850
861
|
renewal_net_cents: z.ZodNumber;
|
|
851
862
|
}, z.core.$strict>;
|
|
852
|
-
period: z.ZodObject<{
|
|
863
|
+
period: z.ZodUnion<readonly [z.ZodObject<{
|
|
864
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
853
865
|
display_time_zone: z.ZodEnum<{
|
|
854
866
|
UTC: "UTC";
|
|
855
867
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -1286,7 +1298,21 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1286
1298
|
at: z.ZodISODateTime;
|
|
1287
1299
|
at_period_end: z.ZodBoolean;
|
|
1288
1300
|
}, z.core.$strict>], "mode">;
|
|
1289
|
-
}, z.core.$strict
|
|
1301
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1302
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
1303
|
+
cycle: z.ZodLiteral<"monthly">;
|
|
1304
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
1305
|
+
period_statement: z.ZodLiteral<"First billing period: one full month from successful payment; renews at the end of that period">;
|
|
1306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1307
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
1308
|
+
cycle: z.ZodLiteral<"yearly">;
|
|
1309
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
1310
|
+
period_statement: z.ZodLiteral<"First billing period: one full year from successful payment; renews at the end of that period">;
|
|
1311
|
+
}, z.core.$strict>], "cycle">]>;
|
|
1312
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
1313
|
+
agreement_id: z.ZodUUID;
|
|
1314
|
+
text: z.ZodString;
|
|
1315
|
+
}, z.core.$strict>>;
|
|
1290
1316
|
declaration: z.ZodObject<{
|
|
1291
1317
|
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
1292
1318
|
text: z.ZodString;
|
|
@@ -1364,7 +1390,54 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1364
1390
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
1365
1391
|
renewal_net_cents: z.ZodNumber;
|
|
1366
1392
|
}, z.core.$strict>;
|
|
1393
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
1394
|
+
agreement_id: z.ZodUUID;
|
|
1395
|
+
text: z.ZodString;
|
|
1396
|
+
}, z.core.$strict>>;
|
|
1397
|
+
declaration: z.ZodObject<{
|
|
1398
|
+
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
1399
|
+
text: z.ZodString;
|
|
1400
|
+
terms: z.ZodObject<{
|
|
1401
|
+
version: z.ZodString;
|
|
1402
|
+
version_date: z.ZodISODate;
|
|
1403
|
+
url: z.ZodURL;
|
|
1404
|
+
}, z.core.$strict>;
|
|
1405
|
+
dpa: z.ZodObject<{
|
|
1406
|
+
version: z.ZodString;
|
|
1407
|
+
version_date: z.ZodISODate;
|
|
1408
|
+
url: z.ZodURL;
|
|
1409
|
+
}, z.core.$strict>;
|
|
1410
|
+
}, z.core.$strict>;
|
|
1411
|
+
expires_at: z.ZodISODateTime;
|
|
1412
|
+
quote_revision: z.ZodString;
|
|
1413
|
+
buyer_fingerprint: z.ZodString;
|
|
1414
|
+
snapshot_id: z.ZodUUID;
|
|
1415
|
+
decision_id: z.ZodUUID;
|
|
1416
|
+
operation_key: z.ZodUUID;
|
|
1417
|
+
owner_id: z.ZodUUID;
|
|
1418
|
+
organization_id: z.ZodUUID;
|
|
1419
|
+
organization_name: z.ZodString;
|
|
1420
|
+
decision_kind: z.ZodLiteral<"paid_change">;
|
|
1421
|
+
selection: z.ZodObject<{
|
|
1422
|
+
plan: z.ZodEnum<{
|
|
1423
|
+
basic: "basic";
|
|
1424
|
+
plus: "plus";
|
|
1425
|
+
pro: "pro";
|
|
1426
|
+
}>;
|
|
1427
|
+
cycle: z.ZodEnum<{
|
|
1428
|
+
monthly: "monthly";
|
|
1429
|
+
yearly: "yearly";
|
|
1430
|
+
}>;
|
|
1431
|
+
addons: z.ZodObject<{
|
|
1432
|
+
seats: z.ZodNumber;
|
|
1433
|
+
robots: z.ZodNumber;
|
|
1434
|
+
apps: z.ZodNumber;
|
|
1435
|
+
app_user_packs: z.ZodNumber;
|
|
1436
|
+
live_video_packs: z.ZodNumber;
|
|
1437
|
+
}, z.core.$strip>;
|
|
1438
|
+
}, z.core.$strict>;
|
|
1367
1439
|
period: z.ZodObject<{
|
|
1440
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
1368
1441
|
display_time_zone: z.ZodEnum<{
|
|
1369
1442
|
UTC: "UTC";
|
|
1370
1443
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -1802,6 +1875,45 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1802
1875
|
at_period_end: z.ZodBoolean;
|
|
1803
1876
|
}, z.core.$strict>], "mode">;
|
|
1804
1877
|
}, z.core.$strict>;
|
|
1878
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1879
|
+
amounts: z.ZodObject<{
|
|
1880
|
+
currency: z.ZodLiteral<"eur">;
|
|
1881
|
+
quote: z.ZodObject<{
|
|
1882
|
+
currency: z.ZodLiteral<"eur">;
|
|
1883
|
+
net_cents: z.ZodNumber;
|
|
1884
|
+
vat_cents: z.ZodNumber;
|
|
1885
|
+
gross_cents: z.ZodNumber;
|
|
1886
|
+
rate_percent: z.ZodNumber;
|
|
1887
|
+
}, z.core.$strict>;
|
|
1888
|
+
plan_net_cents: z.ZodNumber;
|
|
1889
|
+
addon_lines: z.ZodArray<z.ZodObject<{
|
|
1890
|
+
addon: z.ZodEnum<{
|
|
1891
|
+
apps: "apps";
|
|
1892
|
+
seats: "seats";
|
|
1893
|
+
robots: "robots";
|
|
1894
|
+
app_user_packs: "app_user_packs";
|
|
1895
|
+
live_video_packs: "live_video_packs";
|
|
1896
|
+
}>;
|
|
1897
|
+
quantity: z.ZodNumber;
|
|
1898
|
+
net_cents: z.ZodNumber;
|
|
1899
|
+
}, z.core.$strict>>;
|
|
1900
|
+
period_net_cents: z.ZodNumber;
|
|
1901
|
+
period_vat_cents: z.ZodNumber;
|
|
1902
|
+
period_gross_cents: z.ZodNumber;
|
|
1903
|
+
vat_treatment: z.ZodEnum<{
|
|
1904
|
+
de_standard: "de_standard";
|
|
1905
|
+
reverse_charge: "reverse_charge";
|
|
1906
|
+
outside_eu: "outside_eu";
|
|
1907
|
+
}>;
|
|
1908
|
+
vat_treatment_line: z.ZodString;
|
|
1909
|
+
due_today_gross_cents: z.ZodNumber;
|
|
1910
|
+
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
1911
|
+
renewal_net_cents: z.ZodNumber;
|
|
1912
|
+
}, z.core.$strict>;
|
|
1913
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
1914
|
+
agreement_id: z.ZodUUID;
|
|
1915
|
+
text: z.ZodString;
|
|
1916
|
+
}, z.core.$strict>>;
|
|
1805
1917
|
declaration: z.ZodObject<{
|
|
1806
1918
|
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
1807
1919
|
text: z.ZodString;
|
|
@@ -1825,8 +1937,14 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1825
1937
|
owner_id: z.ZodUUID;
|
|
1826
1938
|
organization_id: z.ZodUUID;
|
|
1827
1939
|
organization_name: z.ZodString;
|
|
1828
|
-
decision_kind: z.ZodLiteral<"
|
|
1940
|
+
decision_kind: z.ZodLiteral<"plan_change">;
|
|
1829
1941
|
selection: z.ZodObject<{
|
|
1942
|
+
keep: z.ZodNullable<z.ZodObject<{
|
|
1943
|
+
robots: z.ZodArray<z.ZodUUID>;
|
|
1944
|
+
apps: z.ZodArray<z.ZodUUID>;
|
|
1945
|
+
app_users: z.ZodArray<z.ZodUUID>;
|
|
1946
|
+
developers: z.ZodArray<z.ZodUUID>;
|
|
1947
|
+
}, z.core.$strict>>;
|
|
1830
1948
|
plan: z.ZodEnum<{
|
|
1831
1949
|
basic: "basic";
|
|
1832
1950
|
plus: "plus";
|
|
@@ -1844,42 +1962,8 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1844
1962
|
live_video_packs: z.ZodNumber;
|
|
1845
1963
|
}, z.core.$strip>;
|
|
1846
1964
|
}, z.core.$strict>;
|
|
1847
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1848
|
-
amounts: z.ZodObject<{
|
|
1849
|
-
currency: z.ZodLiteral<"eur">;
|
|
1850
|
-
quote: z.ZodObject<{
|
|
1851
|
-
currency: z.ZodLiteral<"eur">;
|
|
1852
|
-
net_cents: z.ZodNumber;
|
|
1853
|
-
vat_cents: z.ZodNumber;
|
|
1854
|
-
gross_cents: z.ZodNumber;
|
|
1855
|
-
rate_percent: z.ZodNumber;
|
|
1856
|
-
}, z.core.$strict>;
|
|
1857
|
-
plan_net_cents: z.ZodNumber;
|
|
1858
|
-
addon_lines: z.ZodArray<z.ZodObject<{
|
|
1859
|
-
addon: z.ZodEnum<{
|
|
1860
|
-
apps: "apps";
|
|
1861
|
-
seats: "seats";
|
|
1862
|
-
robots: "robots";
|
|
1863
|
-
app_user_packs: "app_user_packs";
|
|
1864
|
-
live_video_packs: "live_video_packs";
|
|
1865
|
-
}>;
|
|
1866
|
-
quantity: z.ZodNumber;
|
|
1867
|
-
net_cents: z.ZodNumber;
|
|
1868
|
-
}, z.core.$strict>>;
|
|
1869
|
-
period_net_cents: z.ZodNumber;
|
|
1870
|
-
period_vat_cents: z.ZodNumber;
|
|
1871
|
-
period_gross_cents: z.ZodNumber;
|
|
1872
|
-
vat_treatment: z.ZodEnum<{
|
|
1873
|
-
de_standard: "de_standard";
|
|
1874
|
-
reverse_charge: "reverse_charge";
|
|
1875
|
-
outside_eu: "outside_eu";
|
|
1876
|
-
}>;
|
|
1877
|
-
vat_treatment_line: z.ZodString;
|
|
1878
|
-
due_today_gross_cents: z.ZodNumber;
|
|
1879
|
-
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
1880
|
-
renewal_net_cents: z.ZodNumber;
|
|
1881
|
-
}, z.core.$strict>;
|
|
1882
1965
|
period: z.ZodObject<{
|
|
1966
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
1883
1967
|
display_time_zone: z.ZodEnum<{
|
|
1884
1968
|
UTC: "UTC";
|
|
1885
1969
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -2317,54 +2401,6 @@ export declare const billingDecisionSnapshot: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
2317
2401
|
at_period_end: z.ZodBoolean;
|
|
2318
2402
|
}, z.core.$strict>], "mode">;
|
|
2319
2403
|
}, z.core.$strict>;
|
|
2320
|
-
declaration: z.ZodObject<{
|
|
2321
|
-
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
2322
|
-
text: z.ZodString;
|
|
2323
|
-
terms: z.ZodObject<{
|
|
2324
|
-
version: z.ZodString;
|
|
2325
|
-
version_date: z.ZodISODate;
|
|
2326
|
-
url: z.ZodURL;
|
|
2327
|
-
}, z.core.$strict>;
|
|
2328
|
-
dpa: z.ZodObject<{
|
|
2329
|
-
version: z.ZodString;
|
|
2330
|
-
version_date: z.ZodISODate;
|
|
2331
|
-
url: z.ZodURL;
|
|
2332
|
-
}, z.core.$strict>;
|
|
2333
|
-
}, z.core.$strict>;
|
|
2334
|
-
expires_at: z.ZodISODateTime;
|
|
2335
|
-
quote_revision: z.ZodString;
|
|
2336
|
-
buyer_fingerprint: z.ZodString;
|
|
2337
|
-
snapshot_id: z.ZodUUID;
|
|
2338
|
-
decision_id: z.ZodUUID;
|
|
2339
|
-
operation_key: z.ZodUUID;
|
|
2340
|
-
owner_id: z.ZodUUID;
|
|
2341
|
-
organization_id: z.ZodUUID;
|
|
2342
|
-
organization_name: z.ZodString;
|
|
2343
|
-
decision_kind: z.ZodLiteral<"plan_change">;
|
|
2344
|
-
selection: z.ZodObject<{
|
|
2345
|
-
keep: z.ZodNullable<z.ZodObject<{
|
|
2346
|
-
robots: z.ZodArray<z.ZodUUID>;
|
|
2347
|
-
apps: z.ZodArray<z.ZodUUID>;
|
|
2348
|
-
app_users: z.ZodArray<z.ZodUUID>;
|
|
2349
|
-
developers: z.ZodArray<z.ZodUUID>;
|
|
2350
|
-
}, z.core.$strict>>;
|
|
2351
|
-
plan: z.ZodEnum<{
|
|
2352
|
-
basic: "basic";
|
|
2353
|
-
plus: "plus";
|
|
2354
|
-
pro: "pro";
|
|
2355
|
-
}>;
|
|
2356
|
-
cycle: z.ZodEnum<{
|
|
2357
|
-
monthly: "monthly";
|
|
2358
|
-
yearly: "yearly";
|
|
2359
|
-
}>;
|
|
2360
|
-
addons: z.ZodObject<{
|
|
2361
|
-
seats: z.ZodNumber;
|
|
2362
|
-
robots: z.ZodNumber;
|
|
2363
|
-
apps: z.ZodNumber;
|
|
2364
|
-
app_user_packs: z.ZodNumber;
|
|
2365
|
-
live_video_packs: z.ZodNumber;
|
|
2366
|
-
}, z.core.$strip>;
|
|
2367
|
-
}, z.core.$strict>;
|
|
2368
2404
|
}, z.core.$strict>], "decision_kind">;
|
|
2369
2405
|
export type BillingDecisionSnapshot = z.infer<typeof billingDecisionSnapshot>;
|
|
2370
2406
|
export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
@@ -2405,7 +2441,8 @@ export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
|
2405
2441
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
2406
2442
|
renewal_net_cents: z.ZodNumber;
|
|
2407
2443
|
}, z.core.$strict>;
|
|
2408
|
-
period: z.ZodObject<{
|
|
2444
|
+
period: z.ZodUnion<readonly [z.ZodObject<{
|
|
2445
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
2409
2446
|
display_time_zone: z.ZodEnum<{
|
|
2410
2447
|
UTC: "UTC";
|
|
2411
2448
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -2842,7 +2879,21 @@ export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
|
2842
2879
|
at: z.ZodISODateTime;
|
|
2843
2880
|
at_period_end: z.ZodBoolean;
|
|
2844
2881
|
}, z.core.$strict>], "mode">;
|
|
2845
|
-
}, z.core.$strict
|
|
2882
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2883
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
2884
|
+
cycle: z.ZodLiteral<"monthly">;
|
|
2885
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
2886
|
+
period_statement: z.ZodLiteral<"First billing period: one full month from successful payment; renews at the end of that period">;
|
|
2887
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2888
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
2889
|
+
cycle: z.ZodLiteral<"yearly">;
|
|
2890
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
2891
|
+
period_statement: z.ZodLiteral<"First billing period: one full year from successful payment; renews at the end of that period">;
|
|
2892
|
+
}, z.core.$strict>], "cycle">]>;
|
|
2893
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
2894
|
+
agreement_id: z.ZodUUID;
|
|
2895
|
+
text: z.ZodString;
|
|
2896
|
+
}, z.core.$strict>>;
|
|
2846
2897
|
declaration: z.ZodObject<{
|
|
2847
2898
|
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
2848
2899
|
text: z.ZodString;
|
|
@@ -2920,7 +2971,54 @@ export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
|
2920
2971
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
2921
2972
|
renewal_net_cents: z.ZodNumber;
|
|
2922
2973
|
}, z.core.$strict>;
|
|
2974
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
2975
|
+
agreement_id: z.ZodUUID;
|
|
2976
|
+
text: z.ZodString;
|
|
2977
|
+
}, z.core.$strict>>;
|
|
2978
|
+
declaration: z.ZodObject<{
|
|
2979
|
+
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
2980
|
+
text: z.ZodString;
|
|
2981
|
+
terms: z.ZodObject<{
|
|
2982
|
+
version: z.ZodString;
|
|
2983
|
+
version_date: z.ZodISODate;
|
|
2984
|
+
url: z.ZodURL;
|
|
2985
|
+
}, z.core.$strict>;
|
|
2986
|
+
dpa: z.ZodObject<{
|
|
2987
|
+
version: z.ZodString;
|
|
2988
|
+
version_date: z.ZodISODate;
|
|
2989
|
+
url: z.ZodURL;
|
|
2990
|
+
}, z.core.$strict>;
|
|
2991
|
+
}, z.core.$strict>;
|
|
2992
|
+
expires_at: z.ZodISODateTime;
|
|
2993
|
+
quote_revision: z.ZodString;
|
|
2994
|
+
buyer_fingerprint: z.ZodString;
|
|
2995
|
+
snapshot_id: z.ZodUUID;
|
|
2996
|
+
decision_id: z.ZodUUID;
|
|
2997
|
+
operation_key: z.ZodUUID;
|
|
2998
|
+
owner_id: z.ZodUUID;
|
|
2999
|
+
organization_id: z.ZodUUID;
|
|
3000
|
+
organization_name: z.ZodString;
|
|
3001
|
+
decision_kind: z.ZodLiteral<"paid_change">;
|
|
3002
|
+
selection: z.ZodObject<{
|
|
3003
|
+
plan: z.ZodEnum<{
|
|
3004
|
+
basic: "basic";
|
|
3005
|
+
plus: "plus";
|
|
3006
|
+
pro: "pro";
|
|
3007
|
+
}>;
|
|
3008
|
+
cycle: z.ZodEnum<{
|
|
3009
|
+
monthly: "monthly";
|
|
3010
|
+
yearly: "yearly";
|
|
3011
|
+
}>;
|
|
3012
|
+
addons: z.ZodObject<{
|
|
3013
|
+
seats: z.ZodNumber;
|
|
3014
|
+
robots: z.ZodNumber;
|
|
3015
|
+
apps: z.ZodNumber;
|
|
3016
|
+
app_user_packs: z.ZodNumber;
|
|
3017
|
+
live_video_packs: z.ZodNumber;
|
|
3018
|
+
}, z.core.$strip>;
|
|
3019
|
+
}, z.core.$strict>;
|
|
2923
3020
|
period: z.ZodObject<{
|
|
3021
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
2924
3022
|
display_time_zone: z.ZodEnum<{
|
|
2925
3023
|
UTC: "UTC";
|
|
2926
3024
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -3358,57 +3456,15 @@ export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
|
3358
3456
|
at_period_end: z.ZodBoolean;
|
|
3359
3457
|
}, z.core.$strict>], "mode">;
|
|
3360
3458
|
}, z.core.$strict>;
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
version: z.ZodString;
|
|
3371
|
-
version_date: z.ZodISODate;
|
|
3372
|
-
url: z.ZodURL;
|
|
3373
|
-
}, z.core.$strict>;
|
|
3374
|
-
}, z.core.$strict>;
|
|
3375
|
-
expires_at: z.ZodISODateTime;
|
|
3376
|
-
quote_revision: z.ZodString;
|
|
3377
|
-
buyer_fingerprint: z.ZodString;
|
|
3378
|
-
snapshot_id: z.ZodUUID;
|
|
3379
|
-
decision_id: z.ZodUUID;
|
|
3380
|
-
operation_key: z.ZodUUID;
|
|
3381
|
-
owner_id: z.ZodUUID;
|
|
3382
|
-
organization_id: z.ZodUUID;
|
|
3383
|
-
organization_name: z.ZodString;
|
|
3384
|
-
decision_kind: z.ZodLiteral<"paid_change">;
|
|
3385
|
-
selection: z.ZodObject<{
|
|
3386
|
-
plan: z.ZodEnum<{
|
|
3387
|
-
basic: "basic";
|
|
3388
|
-
plus: "plus";
|
|
3389
|
-
pro: "pro";
|
|
3390
|
-
}>;
|
|
3391
|
-
cycle: z.ZodEnum<{
|
|
3392
|
-
monthly: "monthly";
|
|
3393
|
-
yearly: "yearly";
|
|
3394
|
-
}>;
|
|
3395
|
-
addons: z.ZodObject<{
|
|
3396
|
-
seats: z.ZodNumber;
|
|
3397
|
-
robots: z.ZodNumber;
|
|
3398
|
-
apps: z.ZodNumber;
|
|
3399
|
-
app_user_packs: z.ZodNumber;
|
|
3400
|
-
live_video_packs: z.ZodNumber;
|
|
3401
|
-
}, z.core.$strip>;
|
|
3402
|
-
}, z.core.$strict>;
|
|
3403
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3404
|
-
amounts: z.ZodObject<{
|
|
3405
|
-
currency: z.ZodLiteral<"eur">;
|
|
3406
|
-
quote: z.ZodObject<{
|
|
3407
|
-
currency: z.ZodLiteral<"eur">;
|
|
3408
|
-
net_cents: z.ZodNumber;
|
|
3409
|
-
vat_cents: z.ZodNumber;
|
|
3410
|
-
gross_cents: z.ZodNumber;
|
|
3411
|
-
rate_percent: z.ZodNumber;
|
|
3459
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3460
|
+
amounts: z.ZodObject<{
|
|
3461
|
+
currency: z.ZodLiteral<"eur">;
|
|
3462
|
+
quote: z.ZodObject<{
|
|
3463
|
+
currency: z.ZodLiteral<"eur">;
|
|
3464
|
+
net_cents: z.ZodNumber;
|
|
3465
|
+
vat_cents: z.ZodNumber;
|
|
3466
|
+
gross_cents: z.ZodNumber;
|
|
3467
|
+
rate_percent: z.ZodNumber;
|
|
3412
3468
|
}, z.core.$strict>;
|
|
3413
3469
|
plan_net_cents: z.ZodNumber;
|
|
3414
3470
|
addon_lines: z.ZodArray<z.ZodObject<{
|
|
@@ -3435,7 +3491,60 @@ export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
|
3435
3491
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
3436
3492
|
renewal_net_cents: z.ZodNumber;
|
|
3437
3493
|
}, z.core.$strict>;
|
|
3494
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
3495
|
+
agreement_id: z.ZodUUID;
|
|
3496
|
+
text: z.ZodString;
|
|
3497
|
+
}, z.core.$strict>>;
|
|
3498
|
+
declaration: z.ZodObject<{
|
|
3499
|
+
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
3500
|
+
text: z.ZodString;
|
|
3501
|
+
terms: z.ZodObject<{
|
|
3502
|
+
version: z.ZodString;
|
|
3503
|
+
version_date: z.ZodISODate;
|
|
3504
|
+
url: z.ZodURL;
|
|
3505
|
+
}, z.core.$strict>;
|
|
3506
|
+
dpa: z.ZodObject<{
|
|
3507
|
+
version: z.ZodString;
|
|
3508
|
+
version_date: z.ZodISODate;
|
|
3509
|
+
url: z.ZodURL;
|
|
3510
|
+
}, z.core.$strict>;
|
|
3511
|
+
}, z.core.$strict>;
|
|
3512
|
+
expires_at: z.ZodISODateTime;
|
|
3513
|
+
quote_revision: z.ZodString;
|
|
3514
|
+
buyer_fingerprint: z.ZodString;
|
|
3515
|
+
snapshot_id: z.ZodUUID;
|
|
3516
|
+
decision_id: z.ZodUUID;
|
|
3517
|
+
operation_key: z.ZodUUID;
|
|
3518
|
+
owner_id: z.ZodUUID;
|
|
3519
|
+
organization_id: z.ZodUUID;
|
|
3520
|
+
organization_name: z.ZodString;
|
|
3521
|
+
decision_kind: z.ZodLiteral<"plan_change">;
|
|
3522
|
+
selection: z.ZodObject<{
|
|
3523
|
+
keep: z.ZodNullable<z.ZodObject<{
|
|
3524
|
+
robots: z.ZodArray<z.ZodUUID>;
|
|
3525
|
+
apps: z.ZodArray<z.ZodUUID>;
|
|
3526
|
+
app_users: z.ZodArray<z.ZodUUID>;
|
|
3527
|
+
developers: z.ZodArray<z.ZodUUID>;
|
|
3528
|
+
}, z.core.$strict>>;
|
|
3529
|
+
plan: z.ZodEnum<{
|
|
3530
|
+
basic: "basic";
|
|
3531
|
+
plus: "plus";
|
|
3532
|
+
pro: "pro";
|
|
3533
|
+
}>;
|
|
3534
|
+
cycle: z.ZodEnum<{
|
|
3535
|
+
monthly: "monthly";
|
|
3536
|
+
yearly: "yearly";
|
|
3537
|
+
}>;
|
|
3538
|
+
addons: z.ZodObject<{
|
|
3539
|
+
seats: z.ZodNumber;
|
|
3540
|
+
robots: z.ZodNumber;
|
|
3541
|
+
apps: z.ZodNumber;
|
|
3542
|
+
app_user_packs: z.ZodNumber;
|
|
3543
|
+
live_video_packs: z.ZodNumber;
|
|
3544
|
+
}, z.core.$strip>;
|
|
3545
|
+
}, z.core.$strict>;
|
|
3438
3546
|
period: z.ZodObject<{
|
|
3547
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
3439
3548
|
display_time_zone: z.ZodEnum<{
|
|
3440
3549
|
UTC: "UTC";
|
|
3441
3550
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -3873,54 +3982,6 @@ export declare const billingDecisionDisplayResponse: z.ZodObject<{
|
|
|
3873
3982
|
at_period_end: z.ZodBoolean;
|
|
3874
3983
|
}, z.core.$strict>], "mode">;
|
|
3875
3984
|
}, z.core.$strict>;
|
|
3876
|
-
declaration: z.ZodObject<{
|
|
3877
|
-
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
3878
|
-
text: z.ZodString;
|
|
3879
|
-
terms: z.ZodObject<{
|
|
3880
|
-
version: z.ZodString;
|
|
3881
|
-
version_date: z.ZodISODate;
|
|
3882
|
-
url: z.ZodURL;
|
|
3883
|
-
}, z.core.$strict>;
|
|
3884
|
-
dpa: z.ZodObject<{
|
|
3885
|
-
version: z.ZodString;
|
|
3886
|
-
version_date: z.ZodISODate;
|
|
3887
|
-
url: z.ZodURL;
|
|
3888
|
-
}, z.core.$strict>;
|
|
3889
|
-
}, z.core.$strict>;
|
|
3890
|
-
expires_at: z.ZodISODateTime;
|
|
3891
|
-
quote_revision: z.ZodString;
|
|
3892
|
-
buyer_fingerprint: z.ZodString;
|
|
3893
|
-
snapshot_id: z.ZodUUID;
|
|
3894
|
-
decision_id: z.ZodUUID;
|
|
3895
|
-
operation_key: z.ZodUUID;
|
|
3896
|
-
owner_id: z.ZodUUID;
|
|
3897
|
-
organization_id: z.ZodUUID;
|
|
3898
|
-
organization_name: z.ZodString;
|
|
3899
|
-
decision_kind: z.ZodLiteral<"plan_change">;
|
|
3900
|
-
selection: z.ZodObject<{
|
|
3901
|
-
keep: z.ZodNullable<z.ZodObject<{
|
|
3902
|
-
robots: z.ZodArray<z.ZodUUID>;
|
|
3903
|
-
apps: z.ZodArray<z.ZodUUID>;
|
|
3904
|
-
app_users: z.ZodArray<z.ZodUUID>;
|
|
3905
|
-
developers: z.ZodArray<z.ZodUUID>;
|
|
3906
|
-
}, z.core.$strict>>;
|
|
3907
|
-
plan: z.ZodEnum<{
|
|
3908
|
-
basic: "basic";
|
|
3909
|
-
plus: "plus";
|
|
3910
|
-
pro: "pro";
|
|
3911
|
-
}>;
|
|
3912
|
-
cycle: z.ZodEnum<{
|
|
3913
|
-
monthly: "monthly";
|
|
3914
|
-
yearly: "yearly";
|
|
3915
|
-
}>;
|
|
3916
|
-
addons: z.ZodObject<{
|
|
3917
|
-
seats: z.ZodNumber;
|
|
3918
|
-
robots: z.ZodNumber;
|
|
3919
|
-
apps: z.ZodNumber;
|
|
3920
|
-
app_user_packs: z.ZodNumber;
|
|
3921
|
-
live_video_packs: z.ZodNumber;
|
|
3922
|
-
}, z.core.$strip>;
|
|
3923
|
-
}, z.core.$strict>;
|
|
3924
3985
|
}, z.core.$strict>], "decision_kind">;
|
|
3925
3986
|
}, z.core.$strict>;
|
|
3926
3987
|
export type BillingDecisionDisplayResponse = z.infer<typeof billingDecisionDisplayResponse>;
|
|
@@ -3965,7 +4026,8 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
3965
4026
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
3966
4027
|
renewal_net_cents: z.ZodNumber;
|
|
3967
4028
|
}, z.core.$strict>;
|
|
3968
|
-
period: z.ZodObject<{
|
|
4029
|
+
period: z.ZodUnion<readonly [z.ZodObject<{
|
|
4030
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
3969
4031
|
display_time_zone: z.ZodEnum<{
|
|
3970
4032
|
UTC: "UTC";
|
|
3971
4033
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -4402,7 +4464,21 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
4402
4464
|
at: z.ZodISODateTime;
|
|
4403
4465
|
at_period_end: z.ZodBoolean;
|
|
4404
4466
|
}, z.core.$strict>], "mode">;
|
|
4405
|
-
}, z.core.$strict
|
|
4467
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4468
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
4469
|
+
cycle: z.ZodLiteral<"monthly">;
|
|
4470
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
4471
|
+
period_statement: z.ZodLiteral<"First billing period: one full month from successful payment; renews at the end of that period">;
|
|
4472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4473
|
+
anchor: z.ZodLiteral<"on_first_successful_payment">;
|
|
4474
|
+
cycle: z.ZodLiteral<"yearly">;
|
|
4475
|
+
start_statement: z.ZodLiteral<"Starts when your first payment succeeds">;
|
|
4476
|
+
period_statement: z.ZodLiteral<"First billing period: one full year from successful payment; renews at the end of that period">;
|
|
4477
|
+
}, z.core.$strict>], "cycle">]>;
|
|
4478
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
4479
|
+
agreement_id: z.ZodUUID;
|
|
4480
|
+
text: z.ZodString;
|
|
4481
|
+
}, z.core.$strict>>;
|
|
4406
4482
|
declaration: z.ZodObject<{
|
|
4407
4483
|
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
4408
4484
|
text: z.ZodString;
|
|
@@ -4480,7 +4556,54 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
4480
4556
|
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
4481
4557
|
renewal_net_cents: z.ZodNumber;
|
|
4482
4558
|
}, z.core.$strict>;
|
|
4559
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
4560
|
+
agreement_id: z.ZodUUID;
|
|
4561
|
+
text: z.ZodString;
|
|
4562
|
+
}, z.core.$strict>>;
|
|
4563
|
+
declaration: z.ZodObject<{
|
|
4564
|
+
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
4565
|
+
text: z.ZodString;
|
|
4566
|
+
terms: z.ZodObject<{
|
|
4567
|
+
version: z.ZodString;
|
|
4568
|
+
version_date: z.ZodISODate;
|
|
4569
|
+
url: z.ZodURL;
|
|
4570
|
+
}, z.core.$strict>;
|
|
4571
|
+
dpa: z.ZodObject<{
|
|
4572
|
+
version: z.ZodString;
|
|
4573
|
+
version_date: z.ZodISODate;
|
|
4574
|
+
url: z.ZodURL;
|
|
4575
|
+
}, z.core.$strict>;
|
|
4576
|
+
}, z.core.$strict>;
|
|
4577
|
+
expires_at: z.ZodISODateTime;
|
|
4578
|
+
quote_revision: z.ZodString;
|
|
4579
|
+
buyer_fingerprint: z.ZodString;
|
|
4580
|
+
snapshot_id: z.ZodUUID;
|
|
4581
|
+
decision_id: z.ZodUUID;
|
|
4582
|
+
operation_key: z.ZodUUID;
|
|
4583
|
+
owner_id: z.ZodUUID;
|
|
4584
|
+
organization_id: z.ZodUUID;
|
|
4585
|
+
organization_name: z.ZodString;
|
|
4586
|
+
decision_kind: z.ZodLiteral<"paid_change">;
|
|
4587
|
+
selection: z.ZodObject<{
|
|
4588
|
+
plan: z.ZodEnum<{
|
|
4589
|
+
basic: "basic";
|
|
4590
|
+
plus: "plus";
|
|
4591
|
+
pro: "pro";
|
|
4592
|
+
}>;
|
|
4593
|
+
cycle: z.ZodEnum<{
|
|
4594
|
+
monthly: "monthly";
|
|
4595
|
+
yearly: "yearly";
|
|
4596
|
+
}>;
|
|
4597
|
+
addons: z.ZodObject<{
|
|
4598
|
+
seats: z.ZodNumber;
|
|
4599
|
+
robots: z.ZodNumber;
|
|
4600
|
+
apps: z.ZodNumber;
|
|
4601
|
+
app_user_packs: z.ZodNumber;
|
|
4602
|
+
live_video_packs: z.ZodNumber;
|
|
4603
|
+
}, z.core.$strip>;
|
|
4604
|
+
}, z.core.$strict>;
|
|
4483
4605
|
period: z.ZodObject<{
|
|
4606
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
4484
4607
|
display_time_zone: z.ZodEnum<{
|
|
4485
4608
|
UTC: "UTC";
|
|
4486
4609
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -4918,6 +5041,45 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
4918
5041
|
at_period_end: z.ZodBoolean;
|
|
4919
5042
|
}, z.core.$strict>], "mode">;
|
|
4920
5043
|
}, z.core.$strict>;
|
|
5044
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5045
|
+
amounts: z.ZodObject<{
|
|
5046
|
+
currency: z.ZodLiteral<"eur">;
|
|
5047
|
+
quote: z.ZodObject<{
|
|
5048
|
+
currency: z.ZodLiteral<"eur">;
|
|
5049
|
+
net_cents: z.ZodNumber;
|
|
5050
|
+
vat_cents: z.ZodNumber;
|
|
5051
|
+
gross_cents: z.ZodNumber;
|
|
5052
|
+
rate_percent: z.ZodNumber;
|
|
5053
|
+
}, z.core.$strict>;
|
|
5054
|
+
plan_net_cents: z.ZodNumber;
|
|
5055
|
+
addon_lines: z.ZodArray<z.ZodObject<{
|
|
5056
|
+
addon: z.ZodEnum<{
|
|
5057
|
+
apps: "apps";
|
|
5058
|
+
seats: "seats";
|
|
5059
|
+
robots: "robots";
|
|
5060
|
+
app_user_packs: "app_user_packs";
|
|
5061
|
+
live_video_packs: "live_video_packs";
|
|
5062
|
+
}>;
|
|
5063
|
+
quantity: z.ZodNumber;
|
|
5064
|
+
net_cents: z.ZodNumber;
|
|
5065
|
+
}, z.core.$strict>>;
|
|
5066
|
+
period_net_cents: z.ZodNumber;
|
|
5067
|
+
period_vat_cents: z.ZodNumber;
|
|
5068
|
+
period_gross_cents: z.ZodNumber;
|
|
5069
|
+
vat_treatment: z.ZodEnum<{
|
|
5070
|
+
de_standard: "de_standard";
|
|
5071
|
+
reverse_charge: "reverse_charge";
|
|
5072
|
+
outside_eu: "outside_eu";
|
|
5073
|
+
}>;
|
|
5074
|
+
vat_treatment_line: z.ZodString;
|
|
5075
|
+
due_today_gross_cents: z.ZodNumber;
|
|
5076
|
+
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
5077
|
+
renewal_net_cents: z.ZodNumber;
|
|
5078
|
+
}, z.core.$strict>;
|
|
5079
|
+
future_price_replacement: z.ZodNullable<z.ZodObject<{
|
|
5080
|
+
agreement_id: z.ZodUUID;
|
|
5081
|
+
text: z.ZodString;
|
|
5082
|
+
}, z.core.$strict>>;
|
|
4921
5083
|
declaration: z.ZodObject<{
|
|
4922
5084
|
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
4923
5085
|
text: z.ZodString;
|
|
@@ -4941,8 +5103,14 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
4941
5103
|
owner_id: z.ZodUUID;
|
|
4942
5104
|
organization_id: z.ZodUUID;
|
|
4943
5105
|
organization_name: z.ZodString;
|
|
4944
|
-
decision_kind: z.ZodLiteral<"
|
|
5106
|
+
decision_kind: z.ZodLiteral<"plan_change">;
|
|
4945
5107
|
selection: z.ZodObject<{
|
|
5108
|
+
keep: z.ZodNullable<z.ZodObject<{
|
|
5109
|
+
robots: z.ZodArray<z.ZodUUID>;
|
|
5110
|
+
apps: z.ZodArray<z.ZodUUID>;
|
|
5111
|
+
app_users: z.ZodArray<z.ZodUUID>;
|
|
5112
|
+
developers: z.ZodArray<z.ZodUUID>;
|
|
5113
|
+
}, z.core.$strict>>;
|
|
4946
5114
|
plan: z.ZodEnum<{
|
|
4947
5115
|
basic: "basic";
|
|
4948
5116
|
plus: "plus";
|
|
@@ -4960,42 +5128,8 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
4960
5128
|
live_video_packs: z.ZodNumber;
|
|
4961
5129
|
}, z.core.$strip>;
|
|
4962
5130
|
}, z.core.$strict>;
|
|
4963
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4964
|
-
amounts: z.ZodObject<{
|
|
4965
|
-
currency: z.ZodLiteral<"eur">;
|
|
4966
|
-
quote: z.ZodObject<{
|
|
4967
|
-
currency: z.ZodLiteral<"eur">;
|
|
4968
|
-
net_cents: z.ZodNumber;
|
|
4969
|
-
vat_cents: z.ZodNumber;
|
|
4970
|
-
gross_cents: z.ZodNumber;
|
|
4971
|
-
rate_percent: z.ZodNumber;
|
|
4972
|
-
}, z.core.$strict>;
|
|
4973
|
-
plan_net_cents: z.ZodNumber;
|
|
4974
|
-
addon_lines: z.ZodArray<z.ZodObject<{
|
|
4975
|
-
addon: z.ZodEnum<{
|
|
4976
|
-
apps: "apps";
|
|
4977
|
-
seats: "seats";
|
|
4978
|
-
robots: "robots";
|
|
4979
|
-
app_user_packs: "app_user_packs";
|
|
4980
|
-
live_video_packs: "live_video_packs";
|
|
4981
|
-
}>;
|
|
4982
|
-
quantity: z.ZodNumber;
|
|
4983
|
-
net_cents: z.ZodNumber;
|
|
4984
|
-
}, z.core.$strict>>;
|
|
4985
|
-
period_net_cents: z.ZodNumber;
|
|
4986
|
-
period_vat_cents: z.ZodNumber;
|
|
4987
|
-
period_gross_cents: z.ZodNumber;
|
|
4988
|
-
vat_treatment: z.ZodEnum<{
|
|
4989
|
-
de_standard: "de_standard";
|
|
4990
|
-
reverse_charge: "reverse_charge";
|
|
4991
|
-
outside_eu: "outside_eu";
|
|
4992
|
-
}>;
|
|
4993
|
-
vat_treatment_line: z.ZodString;
|
|
4994
|
-
due_today_gross_cents: z.ZodNumber;
|
|
4995
|
-
prorated_net_cents: z.ZodNullable<z.ZodNumber>;
|
|
4996
|
-
renewal_net_cents: z.ZodNumber;
|
|
4997
|
-
}, z.core.$strict>;
|
|
4998
5131
|
period: z.ZodObject<{
|
|
5132
|
+
anchor: z.ZodLiteral<"existing_period">;
|
|
4999
5133
|
display_time_zone: z.ZodEnum<{
|
|
5000
5134
|
UTC: "UTC";
|
|
5001
5135
|
"Etc/UTC": "Etc/UTC";
|
|
@@ -5433,54 +5567,6 @@ export declare const planChangePrepareResponse: z.ZodObject<{
|
|
|
5433
5567
|
at_period_end: z.ZodBoolean;
|
|
5434
5568
|
}, z.core.$strict>], "mode">;
|
|
5435
5569
|
}, z.core.$strict>;
|
|
5436
|
-
declaration: z.ZodObject<{
|
|
5437
|
-
text_id: z.ZodLiteral<"DR-1374-draft-3-C.4">;
|
|
5438
|
-
text: z.ZodString;
|
|
5439
|
-
terms: z.ZodObject<{
|
|
5440
|
-
version: z.ZodString;
|
|
5441
|
-
version_date: z.ZodISODate;
|
|
5442
|
-
url: z.ZodURL;
|
|
5443
|
-
}, z.core.$strict>;
|
|
5444
|
-
dpa: z.ZodObject<{
|
|
5445
|
-
version: z.ZodString;
|
|
5446
|
-
version_date: z.ZodISODate;
|
|
5447
|
-
url: z.ZodURL;
|
|
5448
|
-
}, z.core.$strict>;
|
|
5449
|
-
}, z.core.$strict>;
|
|
5450
|
-
expires_at: z.ZodISODateTime;
|
|
5451
|
-
quote_revision: z.ZodString;
|
|
5452
|
-
buyer_fingerprint: z.ZodString;
|
|
5453
|
-
snapshot_id: z.ZodUUID;
|
|
5454
|
-
decision_id: z.ZodUUID;
|
|
5455
|
-
operation_key: z.ZodUUID;
|
|
5456
|
-
owner_id: z.ZodUUID;
|
|
5457
|
-
organization_id: z.ZodUUID;
|
|
5458
|
-
organization_name: z.ZodString;
|
|
5459
|
-
decision_kind: z.ZodLiteral<"plan_change">;
|
|
5460
|
-
selection: z.ZodObject<{
|
|
5461
|
-
keep: z.ZodNullable<z.ZodObject<{
|
|
5462
|
-
robots: z.ZodArray<z.ZodUUID>;
|
|
5463
|
-
apps: z.ZodArray<z.ZodUUID>;
|
|
5464
|
-
app_users: z.ZodArray<z.ZodUUID>;
|
|
5465
|
-
developers: z.ZodArray<z.ZodUUID>;
|
|
5466
|
-
}, z.core.$strict>>;
|
|
5467
|
-
plan: z.ZodEnum<{
|
|
5468
|
-
basic: "basic";
|
|
5469
|
-
plus: "plus";
|
|
5470
|
-
pro: "pro";
|
|
5471
|
-
}>;
|
|
5472
|
-
cycle: z.ZodEnum<{
|
|
5473
|
-
monthly: "monthly";
|
|
5474
|
-
yearly: "yearly";
|
|
5475
|
-
}>;
|
|
5476
|
-
addons: z.ZodObject<{
|
|
5477
|
-
seats: z.ZodNumber;
|
|
5478
|
-
robots: z.ZodNumber;
|
|
5479
|
-
apps: z.ZodNumber;
|
|
5480
|
-
app_user_packs: z.ZodNumber;
|
|
5481
|
-
live_video_packs: z.ZodNumber;
|
|
5482
|
-
}, z.core.$strip>;
|
|
5483
|
-
}, z.core.$strict>;
|
|
5484
5570
|
}, z.core.$strict>], "decision_kind">;
|
|
5485
5571
|
}, z.core.$strict>;
|
|
5486
5572
|
}, z.core.$strict>;
|