@spaceinvoices/js-sdk 11.0.0 → 11.0.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.
@@ -28,8 +28,11 @@ Send an array of 1-25 queries. Queries share one read-only database snapshot and
28
28
  - Date filters are inclusive calendar dates. Invoice overdue fields use the entity timezone; callers should construct reporting periods in that same timezone.
29
29
 
30
30
  **Virtual fields for group_by**:
31
- - `month` - Extract month from date (YYYY-MM)
32
- - `year` - Extract year from date (YYYY)
31
+ - `day` - Calendar day (YYYY-MM-DD)
32
+ - `week` - ISO week (YYYY-Www, ISO-8601 week-numbering year)
33
+ - `month` - Month (YYYY-MM)
34
+ - `quarter` - Quarter (YYYY-Qn)
35
+ - `year` - Year (YYYY)
33
36
  - `overdue_bucket` - Invoice aging bucket (current, 1-30, 31-60, 61-90, 90+)
34
37
 
35
38
  **Example — single query (monthly revenue)**:
@@ -28,8 +28,11 @@ Send an array of 1-25 queries. Queries share one read-only database snapshot and
28
28
  - Date filters are inclusive calendar dates. Invoice overdue fields use the entity timezone; callers should construct reporting periods in that same timezone.
29
29
 
30
30
  **Virtual fields for group_by**:
31
- - `month` - Extract month from date (YYYY-MM)
32
- - `year` - Extract year from date (YYYY)
31
+ - `day` - Calendar day (YYYY-MM-DD)
32
+ - `week` - ISO week (YYYY-Www, ISO-8601 week-numbering year)
33
+ - `month` - Month (YYYY-MM)
34
+ - `quarter` - Quarter (YYYY-Qn)
35
+ - `year` - Year (YYYY)
33
36
  - `overdue_bucket` - Invoice aging bucket (current, 1-30, 31-60, 61-90, 90+)
34
37
 
35
38
  **Example — single query (monthly revenue)**:
@@ -28,8 +28,11 @@ Send an array of 1-25 queries. Queries share one read-only database snapshot and
28
28
  - Date filters are inclusive calendar dates. Invoice overdue fields use the entity timezone; callers should construct reporting periods in that same timezone.
29
29
 
30
30
  **Virtual fields for group_by**:
31
- - `month` - Extract month from date (YYYY-MM)
32
- - `year` - Extract year from date (YYYY)
31
+ - `day` - Calendar day (YYYY-MM-DD)
32
+ - `week` - ISO week (YYYY-Www, ISO-8601 week-numbering year)
33
+ - `month` - Month (YYYY-MM)
34
+ - `quarter` - Quarter (YYYY-Qn)
35
+ - `year` - Year (YYYY)
33
36
  - `overdue_bucket` - Invoice aging bucket (current, 1-30, 31-60, 61-90, 90+)
34
37
 
35
38
  **Example — single query (monthly revenue)**:
@@ -28,8 +28,11 @@ Send an array of 1-25 queries. Queries share one read-only database snapshot and
28
28
  - Date filters are inclusive calendar dates. Invoice overdue fields use the entity timezone; callers should construct reporting periods in that same timezone.
29
29
 
30
30
  **Virtual fields for group_by**:
31
- - `month` - Extract month from date (YYYY-MM)
32
- - `year` - Extract year from date (YYYY)
31
+ - `day` - Calendar day (YYYY-MM-DD)
32
+ - `week` - ISO week (YYYY-Www, ISO-8601 week-numbering year)
33
+ - `month` - Month (YYYY-MM)
34
+ - `quarter` - Quarter (YYYY-Qn)
35
+ - `year` - Year (YYYY)
33
36
  - `overdue_bucket` - Invoice aging bucket (current, 1-30, 31-60, 61-90, 90+)
34
37
 
35
38
  **Example — single query (monthly revenue)**:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaceinvoices/js-sdk",
3
- "version": "11.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Space Invoices API",
5
5
  "author": "Space Invoices <support@spaceinvoices.com>",
6
6
  "license": "MIT",