@automate.ax/integration-contracts 0.112.5 → 0.112.6
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/asana/base.d.ts +1 -1
- package/dist/asana/base.js +5 -1
- package/package.json +2 -2
- package/src/asana/base.ts +5 -1
package/dist/asana/base.d.ts
CHANGED
|
@@ -34,5 +34,5 @@ export declare function toAsanaResource(value: z.output<typeof ASANA_PROVIDER_RE
|
|
|
34
34
|
* @param value - Provider page envelope.
|
|
35
35
|
*/
|
|
36
36
|
export declare function toAsanaPageInfo(value: z.output<typeof ASANA_PROVIDER_PAGE_SCHEMA>): {
|
|
37
|
-
nextOffset
|
|
37
|
+
nextOffset?: string | undefined;
|
|
38
38
|
};
|
package/dist/asana/base.js
CHANGED
|
@@ -38,5 +38,9 @@ export function toAsanaResource(value) {
|
|
|
38
38
|
* @param value - Provider page envelope.
|
|
39
39
|
*/
|
|
40
40
|
export function toAsanaPageInfo(value) {
|
|
41
|
-
return {
|
|
41
|
+
return {
|
|
42
|
+
...(value.next_page?.offset !== undefined && {
|
|
43
|
+
nextOffset: value.next_page.offset,
|
|
44
|
+
}),
|
|
45
|
+
};
|
|
42
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.112.
|
|
3
|
+
"version": "0.112.6",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@automate.ax/codec": "0.112.
|
|
53
|
+
"@automate.ax/codec": "0.112.6",
|
|
54
54
|
"@cfworker/json-schema": "^4.1.1",
|
|
55
55
|
"@googleapis/calendar": "^15.0.0",
|
|
56
56
|
"@googleapis/forms": "^6.0.1",
|
package/src/asana/base.ts
CHANGED
|
@@ -50,5 +50,9 @@ export function toAsanaResource(
|
|
|
50
50
|
export function toAsanaPageInfo(
|
|
51
51
|
value: z.output<typeof ASANA_PROVIDER_PAGE_SCHEMA>,
|
|
52
52
|
) {
|
|
53
|
-
return {
|
|
53
|
+
return {
|
|
54
|
+
...(value.next_page?.offset !== undefined && {
|
|
55
|
+
nextOffset: value.next_page.offset,
|
|
56
|
+
}),
|
|
57
|
+
}
|
|
54
58
|
}
|