@izak0s/spacebring-api 2.0.0 → 2.1.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/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -8292,8 +8292,6 @@ interface components {
|
|
|
8292
8292
|
/** @description Whether the admin can access support tools. */
|
|
8293
8293
|
support: boolean;
|
|
8294
8294
|
};
|
|
8295
|
-
/** @description ISO timestamp or date when privacy consent was given. */
|
|
8296
|
-
privacyConsentDate?: string;
|
|
8297
8295
|
/**
|
|
8298
8296
|
* @description Role of the user in the network.
|
|
8299
8297
|
* @enum {string}
|
|
@@ -13621,7 +13619,7 @@ interface components {
|
|
|
13621
13619
|
invoiceRef: string;
|
|
13622
13620
|
/** @description Line items to credit. */
|
|
13623
13621
|
lines: {
|
|
13624
|
-
/** @description
|
|
13622
|
+
/** @description Share of the invoice item pre-discount total to credit in major units; discounts are prorated and exclusive tax is added on top. */
|
|
13625
13623
|
amount?: number;
|
|
13626
13624
|
/**
|
|
13627
13625
|
* Format: uuid
|
|
@@ -13689,7 +13687,7 @@ interface components {
|
|
|
13689
13687
|
invoiceRef: string;
|
|
13690
13688
|
/** @description Line items to credit. */
|
|
13691
13689
|
lines: {
|
|
13692
|
-
/** @description
|
|
13690
|
+
/** @description Share of the invoice item pre-discount total to credit in major units; discounts are prorated and exclusive tax is added on top. */
|
|
13693
13691
|
amount?: number;
|
|
13694
13692
|
/**
|
|
13695
13693
|
* Format: uuid
|
|
@@ -18875,6 +18873,10 @@ interface operations {
|
|
|
18875
18873
|
getContracts: {
|
|
18876
18874
|
parameters: {
|
|
18877
18875
|
query?: {
|
|
18876
|
+
/** @description Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
|
|
18877
|
+
"createDate[gte]"?: string;
|
|
18878
|
+
/** @description Filter contracts created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
|
|
18879
|
+
"createDate[lte]"?: string;
|
|
18878
18880
|
/** @description UUID of the customer (membership or company). Provide customerRef or locationRef; when set, returns only that customer's contracts. */
|
|
18879
18881
|
customerRef?: string;
|
|
18880
18882
|
/** @description Maximum number of contracts per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
@@ -24383,6 +24385,10 @@ type Contract = NonNullable<operations["getContract"]["responses"][200]["content
|
|
|
24383
24385
|
type Template = NonNullable<operations["getTemplate"]["responses"][200]["content"]["application/json"]["template"]>;
|
|
24384
24386
|
/** Query parameters for `sb.contracts.list()`. */
|
|
24385
24387
|
interface GetContractsQuery {
|
|
24388
|
+
/** Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
|
|
24389
|
+
"createDate[gte]"?: string;
|
|
24390
|
+
/** Filter contracts created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
|
|
24391
|
+
"createDate[lte]"?: string;
|
|
24386
24392
|
/** UUID of the customer (membership or company). Provide customerRef or locationRef; when set, returns only that customer's contracts. */
|
|
24387
24393
|
customerRef?: string;
|
|
24388
24394
|
/** Maximum number of contracts per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
package/dist/index.d.ts
CHANGED
|
@@ -8292,8 +8292,6 @@ interface components {
|
|
|
8292
8292
|
/** @description Whether the admin can access support tools. */
|
|
8293
8293
|
support: boolean;
|
|
8294
8294
|
};
|
|
8295
|
-
/** @description ISO timestamp or date when privacy consent was given. */
|
|
8296
|
-
privacyConsentDate?: string;
|
|
8297
8295
|
/**
|
|
8298
8296
|
* @description Role of the user in the network.
|
|
8299
8297
|
* @enum {string}
|
|
@@ -13621,7 +13619,7 @@ interface components {
|
|
|
13621
13619
|
invoiceRef: string;
|
|
13622
13620
|
/** @description Line items to credit. */
|
|
13623
13621
|
lines: {
|
|
13624
|
-
/** @description
|
|
13622
|
+
/** @description Share of the invoice item pre-discount total to credit in major units; discounts are prorated and exclusive tax is added on top. */
|
|
13625
13623
|
amount?: number;
|
|
13626
13624
|
/**
|
|
13627
13625
|
* Format: uuid
|
|
@@ -13689,7 +13687,7 @@ interface components {
|
|
|
13689
13687
|
invoiceRef: string;
|
|
13690
13688
|
/** @description Line items to credit. */
|
|
13691
13689
|
lines: {
|
|
13692
|
-
/** @description
|
|
13690
|
+
/** @description Share of the invoice item pre-discount total to credit in major units; discounts are prorated and exclusive tax is added on top. */
|
|
13693
13691
|
amount?: number;
|
|
13694
13692
|
/**
|
|
13695
13693
|
* Format: uuid
|
|
@@ -18875,6 +18873,10 @@ interface operations {
|
|
|
18875
18873
|
getContracts: {
|
|
18876
18874
|
parameters: {
|
|
18877
18875
|
query?: {
|
|
18876
|
+
/** @description Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
|
|
18877
|
+
"createDate[gte]"?: string;
|
|
18878
|
+
/** @description Filter contracts created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
|
|
18879
|
+
"createDate[lte]"?: string;
|
|
18878
18880
|
/** @description UUID of the customer (membership or company). Provide customerRef or locationRef; when set, returns only that customer's contracts. */
|
|
18879
18881
|
customerRef?: string;
|
|
18880
18882
|
/** @description Maximum number of contracts per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|
|
@@ -24383,6 +24385,10 @@ type Contract = NonNullable<operations["getContract"]["responses"][200]["content
|
|
|
24383
24385
|
type Template = NonNullable<operations["getTemplate"]["responses"][200]["content"]["application/json"]["template"]>;
|
|
24384
24386
|
/** Query parameters for `sb.contracts.list()`. */
|
|
24385
24387
|
interface GetContractsQuery {
|
|
24388
|
+
/** Filter contracts created on or after this date (ISO 8601). Use with createDate[lte] for a range. */
|
|
24389
|
+
"createDate[gte]"?: string;
|
|
24390
|
+
/** Filter contracts created on or before this date (ISO 8601). Use with createDate[gte] for a range. */
|
|
24391
|
+
"createDate[lte]"?: string;
|
|
24386
24392
|
/** UUID of the customer (membership or company). Provide customerRef or locationRef; when set, returns only that customer's contracts. */
|
|
24387
24393
|
customerRef?: string;
|
|
24388
24394
|
/** Maximum number of contracts per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. */
|