@graph8/sdk 0.294.0 → 0.294.1
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.d.mts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +0 -3
- package/dist/react.d.ts +0 -3
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +1 -1
- package/dist/react.mjs.map +1 -1
- package/dist/types/version.d.ts +2 -2
- package/docs/api/appointments.md +3 -3
- package/docs/api/quotes.d.ts +0 -3
- package/docs/api/quotes.md +3 -3
- package/package.json +1 -1
package/dist/types/version.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* both together (the version-parity gate already pins package.json, the
|
|
6
6
|
* lockfile and the CHANGELOG to each other).
|
|
7
7
|
*/
|
|
8
|
-
export declare const SDK_VERSION = "0.294.
|
|
8
|
+
export declare const SDK_VERSION = "0.294.1";
|
|
9
9
|
/** Value of the `X-G8-Client` header every SDK request carries (I-13). */
|
|
10
|
-
export declare const SDK_CLIENT_ID = "js-sdk/0.294.
|
|
10
|
+
export declare const SDK_CLIENT_ID = "js-sdk/0.294.1";
|
package/docs/api/appointments.md
CHANGED
|
@@ -598,7 +598,7 @@ Body fields (`CreateEventTypeRequest`):
|
|
|
598
598
|
|
|
599
599
|
| Field | Type | Required | Description |
|
|
600
600
|
|---|---|---|---|
|
|
601
|
-
| `body.length` | `integer` | yes |
|
|
601
|
+
| `body.length` | `integer` | yes | min 5, max 525600 |
|
|
602
602
|
| `body.slug` | `string` | yes | |
|
|
603
603
|
| `body.title` | `string` | yes | |
|
|
604
604
|
| `body.after_event_buffer` | `integer` | no | default `0` |
|
|
@@ -636,7 +636,7 @@ Body fields (`CreateEventTypeRequest`):
|
|
|
636
636
|
**Example**
|
|
637
637
|
|
|
638
638
|
```ts
|
|
639
|
-
const result = await g8.api.appointments.createEventType({ body: { length:
|
|
639
|
+
const result = await g8.api.appointments.createEventType({ body: { length: 5, slug: "example", title: "Example" } });
|
|
640
640
|
```
|
|
641
641
|
|
|
642
642
|
---
|
|
@@ -3335,7 +3335,7 @@ Body fields (`UpdateEventTypeRequest`):
|
|
|
3335
3335
|
| `body.event_name` | `string \| null` | no | |
|
|
3336
3336
|
| `body.hidden` | `boolean \| null` | no | |
|
|
3337
3337
|
| `body.layouts` | `Array<string> \| null` | no | |
|
|
3338
|
-
| `body.length` | `integer \| null` | no |
|
|
3338
|
+
| `body.length` | `integer \| null` | no | min 5, max 525600 |
|
|
3339
3339
|
| `body.locations` | `Array<Record<string, unknown>> \| null` | no | |
|
|
3340
3340
|
| `body.metadata` | `Record<string, unknown> \| null` | no | |
|
|
3341
3341
|
| `body.minimum_booking_notice` | `integer \| null` | no | |
|
package/docs/api/quotes.d.ts
CHANGED
|
@@ -379,7 +379,6 @@ export interface QuotesOperations {
|
|
|
379
379
|
get_company_revenue_summary_stripe_companies__company_id__revenue_summary_get: {
|
|
380
380
|
input: {
|
|
381
381
|
path: {
|
|
382
|
-
/** graph8 company id. */
|
|
383
382
|
company_id: number;
|
|
384
383
|
};
|
|
385
384
|
headers?: {
|
|
@@ -396,7 +395,6 @@ export interface QuotesOperations {
|
|
|
396
395
|
get_company_stripe_invoices_stripe_companies__company_id__invoices_get: {
|
|
397
396
|
input: {
|
|
398
397
|
path: {
|
|
399
|
-
/** graph8 company id. */
|
|
400
398
|
company_id: number;
|
|
401
399
|
};
|
|
402
400
|
query?: {
|
|
@@ -418,7 +416,6 @@ export interface QuotesOperations {
|
|
|
418
416
|
get_company_stripe_subscriptions_stripe_companies__company_id__subscriptions_get: {
|
|
419
417
|
input: {
|
|
420
418
|
path: {
|
|
421
|
-
/** graph8 company id. */
|
|
422
419
|
company_id: number;
|
|
423
420
|
};
|
|
424
421
|
headers?: {
|
package/docs/api/quotes.md
CHANGED
|
@@ -898,7 +898,7 @@ Total paid, MRR, invoice count and customer-since date for one company.
|
|
|
898
898
|
|
|
899
899
|
| Field | Type | Required | Description |
|
|
900
900
|
|---|---|---|---|
|
|
901
|
-
| `path.company_id` | `integer` | yes |
|
|
901
|
+
| `path.company_id` | `integer` | yes | |
|
|
902
902
|
|
|
903
903
|
**Returns** `ApiResponse_BillingPayload_`: the envelope `{ data: BillingPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
|
|
904
904
|
|
|
@@ -929,7 +929,7 @@ A company's Stripe invoice history, newest first.
|
|
|
929
929
|
|
|
930
930
|
| Field | Type | Required | Description |
|
|
931
931
|
|---|---|---|---|
|
|
932
|
-
| `path.company_id` | `integer` | yes |
|
|
932
|
+
| `path.company_id` | `integer` | yes | |
|
|
933
933
|
| `query.page` | `integer` | no | 1-based page. default `1` |
|
|
934
934
|
| `query.limit` | `integer` | no | default `50` |
|
|
935
935
|
|
|
@@ -968,7 +968,7 @@ A company's current Stripe subscriptions, through its customer mapping.
|
|
|
968
968
|
|
|
969
969
|
| Field | Type | Required | Description |
|
|
970
970
|
|---|---|---|---|
|
|
971
|
-
| `path.company_id` | `integer` | yes |
|
|
971
|
+
| `path.company_id` | `integer` | yes | |
|
|
972
972
|
|
|
973
973
|
**Returns** `ApiResponse_BillingListPayload_`: the envelope `{ data: BillingListPayload, ... }`. `g8.api` returns the envelope as-is, so read `result.data`.
|
|
974
974
|
|
package/package.json
CHANGED