@leaflow/sdk 0.0.0-dev.216.gab0f521 → 0.0.0-dev.218.g44bea88
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.
|
@@ -1131,6 +1131,11 @@ export interface components {
|
|
|
1131
1131
|
ProjectBillingInfo: {
|
|
1132
1132
|
/** Format: uuid */
|
|
1133
1133
|
project_id: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* @description The project and its current name, for display. Absent when the project no longer exists or its
|
|
1136
|
+
* details cannot be read at the moment; `project_id` still identifies it.
|
|
1137
|
+
*/
|
|
1138
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
1134
1139
|
/** Format: int64 */
|
|
1135
1140
|
billing_account_id: number;
|
|
1136
1141
|
account_name?: string;
|
|
@@ -1436,9 +1441,12 @@ export interface components {
|
|
|
1436
1441
|
* @description A usage invoice stays `draft` through its month: each charge is added to it as it is priced
|
|
1437
1442
|
* and paid from credits and balance as it goes. It is issued at the end of the month, becoming
|
|
1438
1443
|
* `paid` when everything was covered and `open` when something is still owed.
|
|
1444
|
+
*
|
|
1445
|
+
* `refunded` means the invoice was paid and has since been refunded in full; a partial refund
|
|
1446
|
+
* leaves it `paid`, with the refunded part in `amount_refunded`.
|
|
1439
1447
|
* @enum {string}
|
|
1440
1448
|
*/
|
|
1441
|
-
InvoiceStatus: "draft" | "open" | "paid" | "void" | "uncollectible";
|
|
1449
|
+
InvoiceStatus: "draft" | "open" | "paid" | "refunded" | "void" | "uncollectible";
|
|
1442
1450
|
Invoice: {
|
|
1443
1451
|
/** Format: date-time */
|
|
1444
1452
|
due_at?: string;
|
|
@@ -1524,6 +1532,12 @@ export interface components {
|
|
|
1524
1532
|
type?: "usage" | "subscription" | "one_time" | "setup" | "adjustment";
|
|
1525
1533
|
/** Format: uuid */
|
|
1526
1534
|
project_id?: string | null;
|
|
1535
|
+
/**
|
|
1536
|
+
* @description The project the charge was for and its current name, for display. Absent when the line is
|
|
1537
|
+
* not for a project, and when the project no longer exists or its details cannot be read at
|
|
1538
|
+
* the moment; `project_id` still identifies it then.
|
|
1539
|
+
*/
|
|
1540
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
1527
1541
|
resource_id?: string;
|
|
1528
1542
|
/**
|
|
1529
1543
|
* @description The wording as recorded when the invoice was issued. It is not re-translated
|
|
@@ -1675,6 +1689,11 @@ export interface components {
|
|
|
1675
1689
|
id: string;
|
|
1676
1690
|
/** Format: uuid */
|
|
1677
1691
|
project_id?: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* @description The project and its current name, for display. Absent when the project no longer exists or its
|
|
1694
|
+
* details cannot be read at the moment; `project_id` still identifies it.
|
|
1695
|
+
*/
|
|
1696
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
1678
1697
|
product: components["schemas"]["Product"];
|
|
1679
1698
|
/** @description Which resource this was charged for. Empty for charges not tied to one. */
|
|
1680
1699
|
resource_id?: string;
|
|
@@ -1768,6 +1787,12 @@ export interface components {
|
|
|
1768
1787
|
* membership, which belongs to no single project.
|
|
1769
1788
|
*/
|
|
1770
1789
|
project_id?: string | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* @description The project and its current name, for display. Absent for a purchase at account level,
|
|
1792
|
+
* and when the project no longer exists or its details cannot be read at the moment;
|
|
1793
|
+
* `project_id` still identifies it then.
|
|
1794
|
+
*/
|
|
1795
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
1771
1796
|
product: components["schemas"]["Product"];
|
|
1772
1797
|
/** Format: uuid */
|
|
1773
1798
|
plan_id: string;
|
|
@@ -1890,6 +1915,12 @@ export interface components {
|
|
|
1890
1915
|
* as a membership.
|
|
1891
1916
|
*/
|
|
1892
1917
|
project_id?: string | null;
|
|
1918
|
+
/**
|
|
1919
|
+
* @description The project and its current name, for display. Absent for a purchase at account level,
|
|
1920
|
+
* and when the project no longer exists or its details cannot be read at the moment;
|
|
1921
|
+
* `project_id` still identifies it then.
|
|
1922
|
+
*/
|
|
1923
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
1893
1924
|
/**
|
|
1894
1925
|
* Format: int64
|
|
1895
1926
|
* @description The billing account the order was placed with. It does not change when the project is later
|
|
@@ -2292,6 +2323,21 @@ export interface components {
|
|
|
2292
2323
|
* @example 10.2500000000
|
|
2293
2324
|
*/
|
|
2294
2325
|
Money: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* @description Which object this is, together with what a person currently calls it.
|
|
2328
|
+
*
|
|
2329
|
+
* The name is for display. It is chosen by whoever owns the object, it changes, it is not unique
|
|
2330
|
+
* between objects, and it may be empty when nobody has named it yet — so it must not be used to
|
|
2331
|
+
* address, match or deduplicate anything. Addressing is by id.
|
|
2332
|
+
*
|
|
2333
|
+
* This differs from an identity carrying a lookup key: a lookup key is written once by an operator,
|
|
2334
|
+
* is unique, and can be used to fetch the object. A name cannot.
|
|
2335
|
+
*/
|
|
2336
|
+
NamedIdentity: {
|
|
2337
|
+
/** Format: uuid */
|
|
2338
|
+
id: string;
|
|
2339
|
+
name: string;
|
|
2340
|
+
};
|
|
2295
2341
|
};
|
|
2296
2342
|
responses: {
|
|
2297
2343
|
/** @description Error */
|
|
@@ -562,8 +562,12 @@ export interface components {
|
|
|
562
562
|
name: string;
|
|
563
563
|
currency: string;
|
|
564
564
|
};
|
|
565
|
-
/**
|
|
566
|
-
|
|
565
|
+
/**
|
|
566
|
+
* @description `refunded` means the invoice was paid and has since been refunded in full; a partial refund
|
|
567
|
+
* leaves it `paid`, with the refunded part in `amount_refunded`.
|
|
568
|
+
* @enum {string}
|
|
569
|
+
*/
|
|
570
|
+
InvoiceStatus: "draft" | "open" | "paid" | "refunded" | "void" | "uncollectible";
|
|
567
571
|
UsageCharge: {
|
|
568
572
|
/** Format: uuid */
|
|
569
573
|
subscription_id?: string;
|
|
@@ -571,6 +575,11 @@ export interface components {
|
|
|
571
575
|
id: string;
|
|
572
576
|
/** Format: uuid */
|
|
573
577
|
project_id?: string;
|
|
578
|
+
/**
|
|
579
|
+
* @description The project and its current name, for display. Absent when the project no longer exists or its
|
|
580
|
+
* details cannot be read at the moment; `project_id` still identifies it.
|
|
581
|
+
*/
|
|
582
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
574
583
|
product: components["schemas"]["Product"];
|
|
575
584
|
/** @description Which resource this was charged for. Empty for charges not tied to one. */
|
|
576
585
|
resource_id?: string;
|
|
@@ -677,6 +686,12 @@ export interface components {
|
|
|
677
686
|
* membership, which belongs to no single project.
|
|
678
687
|
*/
|
|
679
688
|
project_id?: string | null;
|
|
689
|
+
/**
|
|
690
|
+
* @description The project and its current name, for display. Absent for a purchase at account level,
|
|
691
|
+
* and when the project no longer exists or its details cannot be read at the moment;
|
|
692
|
+
* `project_id` still identifies it then.
|
|
693
|
+
*/
|
|
694
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
680
695
|
product: components["schemas"]["Product"];
|
|
681
696
|
/** Format: uuid */
|
|
682
697
|
plan_id: string;
|
|
@@ -782,6 +797,12 @@ export interface components {
|
|
|
782
797
|
* as a membership.
|
|
783
798
|
*/
|
|
784
799
|
project_id?: string | null;
|
|
800
|
+
/**
|
|
801
|
+
* @description The project and its current name, for display. Absent for a purchase at account level,
|
|
802
|
+
* and when the project no longer exists or its details cannot be read at the moment;
|
|
803
|
+
* `project_id` still identifies it then.
|
|
804
|
+
*/
|
|
805
|
+
project?: components["schemas"]["NamedIdentity"] | null;
|
|
785
806
|
/**
|
|
786
807
|
* Format: int64
|
|
787
808
|
* @description The billing account the order was placed with. It does not change when the project is later
|
|
@@ -1011,6 +1032,21 @@ export interface components {
|
|
|
1011
1032
|
* @example 10.2500000000
|
|
1012
1033
|
*/
|
|
1013
1034
|
Money: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* @description Which object this is, together with what a person currently calls it.
|
|
1037
|
+
*
|
|
1038
|
+
* The name is for display. It is chosen by whoever owns the object, it changes, it is not unique
|
|
1039
|
+
* between objects, and it may be empty when nobody has named it yet — so it must not be used to
|
|
1040
|
+
* address, match or deduplicate anything. Addressing is by id.
|
|
1041
|
+
*
|
|
1042
|
+
* This differs from an identity carrying a lookup key: a lookup key is written once by an operator,
|
|
1043
|
+
* is unique, and can be used to fetch the object. A name cannot.
|
|
1044
|
+
*/
|
|
1045
|
+
NamedIdentity: {
|
|
1046
|
+
/** Format: uuid */
|
|
1047
|
+
id: string;
|
|
1048
|
+
name: string;
|
|
1049
|
+
};
|
|
1014
1050
|
};
|
|
1015
1051
|
responses: {
|
|
1016
1052
|
/** @description Error */
|