@automate.ax/integration-contracts 0.114.1 → 0.114.3
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/schemas.d.ts +2 -0
- package/dist/asana/schemas.js +2 -0
- package/package.json +2 -2
- package/src/asana/schemas.ts +4 -0
package/dist/asana/schemas.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ export declare const ASANA_TASK_MEMBERSHIP_SCHEMA: z.ZodObject<{
|
|
|
67
67
|
type: z.ZodOptional<z.ZodString>;
|
|
68
68
|
}, z.core.$strip>>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
+
/** Complete Asana task projection required by the public task schema. */
|
|
71
|
+
export declare const ASANA_TASK_FIELDS = "gid,name,resource_type,resource_subtype,assignee.gid,assignee.name,assignee.resource_type,assignee_status,completed,completed_at,completed_by.gid,completed_by.name,completed_by.resource_type,created_at,created_by.gid,created_by.name,created_by.resource_type,custom_fields.gid,custom_fields.name,custom_fields.resource_type,custom_fields.resource_subtype,custom_fields.custom_label,custom_fields.currency_code,custom_fields.description,custom_fields.display_value,custom_fields.enum_options.gid,custom_fields.enum_options.name,custom_fields.enum_options.resource_type,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_value.gid,custom_fields.enum_value.name,custom_fields.enum_value.resource_type,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.format,custom_fields.multi_enum_values.gid,custom_fields.multi_enum_values.name,custom_fields.multi_enum_values.resource_type,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.number_value,custom_fields.people_value.gid,custom_fields.people_value.name,custom_fields.people_value.resource_type,custom_fields.precision,custom_fields.reference_value.gid,custom_fields.reference_value.name,custom_fields.reference_value.resource_type,custom_fields.text_value,custom_fields.date_value.date,custom_fields.date_value.date_time,due_at,due_on,followers.gid,followers.name,followers.resource_type,html_notes,memberships.project.gid,memberships.project.name,memberships.project.resource_type,memberships.section.gid,memberships.section.name,memberships.section.resource_type,modified_at,notes,parent.gid,parent.name,parent.resource_type,permalink_url,projects.gid,projects.name,projects.resource_type,start_at,start_on,tags.gid,tags.name,tags.resource_type,workspace.gid,workspace.name,workspace.resource_type";
|
|
70
72
|
export declare const ASANA_TASK_SCHEMA: z.ZodObject<{
|
|
71
73
|
id: z.ZodString;
|
|
72
74
|
name: z.ZodOptional<z.ZodString>;
|
package/dist/asana/schemas.js
CHANGED
|
@@ -55,6 +55,8 @@ export const ASANA_TASK_MEMBERSHIP_SCHEMA = z.object({
|
|
|
55
55
|
/** Section containing the task in this project. */
|
|
56
56
|
section: ASANA_RESOURCE_SCHEMA.optional(),
|
|
57
57
|
});
|
|
58
|
+
/** Complete Asana task projection required by the public task schema. */
|
|
59
|
+
export const ASANA_TASK_FIELDS = "gid,name,resource_type,resource_subtype,assignee.gid,assignee.name,assignee.resource_type,assignee_status,completed,completed_at,completed_by.gid,completed_by.name,completed_by.resource_type,created_at,created_by.gid,created_by.name,created_by.resource_type,custom_fields.gid,custom_fields.name,custom_fields.resource_type,custom_fields.resource_subtype,custom_fields.custom_label,custom_fields.currency_code,custom_fields.description,custom_fields.display_value,custom_fields.enum_options.gid,custom_fields.enum_options.name,custom_fields.enum_options.resource_type,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_value.gid,custom_fields.enum_value.name,custom_fields.enum_value.resource_type,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.format,custom_fields.multi_enum_values.gid,custom_fields.multi_enum_values.name,custom_fields.multi_enum_values.resource_type,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.number_value,custom_fields.people_value.gid,custom_fields.people_value.name,custom_fields.people_value.resource_type,custom_fields.precision,custom_fields.reference_value.gid,custom_fields.reference_value.name,custom_fields.reference_value.resource_type,custom_fields.text_value,custom_fields.date_value.date,custom_fields.date_value.date_time,due_at,due_on,followers.gid,followers.name,followers.resource_type,html_notes,memberships.project.gid,memberships.project.name,memberships.project.resource_type,memberships.section.gid,memberships.section.name,memberships.section.resource_type,modified_at,notes,parent.gid,parent.name,parent.resource_type,permalink_url,projects.gid,projects.name,projects.resource_type,start_at,start_on,tags.gid,tags.name,tags.resource_type,workspace.gid,workspace.name,workspace.resource_type";
|
|
58
60
|
export const ASANA_TASK_SCHEMA = ASANA_RESOURCE_SCHEMA.extend({
|
|
59
61
|
/** Current assignee. */
|
|
60
62
|
assignee: ASANA_RESOURCE_SCHEMA.optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.114.
|
|
3
|
+
"version": "0.114.3",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@automate.ax/codec": "0.114.
|
|
54
|
+
"@automate.ax/codec": "0.114.3",
|
|
55
55
|
"@cfworker/json-schema": "^4.1.1",
|
|
56
56
|
"@googleapis/calendar": "^15.0.0",
|
|
57
57
|
"@googleapis/forms": "^6.0.1",
|
package/src/asana/schemas.ts
CHANGED
|
@@ -87,6 +87,10 @@ export const ASANA_TASK_MEMBERSHIP_SCHEMA = z.object({
|
|
|
87
87
|
section: ASANA_RESOURCE_SCHEMA.optional(),
|
|
88
88
|
})
|
|
89
89
|
|
|
90
|
+
/** Complete Asana task projection required by the public task schema. */
|
|
91
|
+
export const ASANA_TASK_FIELDS =
|
|
92
|
+
"gid,name,resource_type,resource_subtype,assignee.gid,assignee.name,assignee.resource_type,assignee_status,completed,completed_at,completed_by.gid,completed_by.name,completed_by.resource_type,created_at,created_by.gid,created_by.name,created_by.resource_type,custom_fields.gid,custom_fields.name,custom_fields.resource_type,custom_fields.resource_subtype,custom_fields.custom_label,custom_fields.currency_code,custom_fields.description,custom_fields.display_value,custom_fields.enum_options.gid,custom_fields.enum_options.name,custom_fields.enum_options.resource_type,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_value.gid,custom_fields.enum_value.name,custom_fields.enum_value.resource_type,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.format,custom_fields.multi_enum_values.gid,custom_fields.multi_enum_values.name,custom_fields.multi_enum_values.resource_type,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.number_value,custom_fields.people_value.gid,custom_fields.people_value.name,custom_fields.people_value.resource_type,custom_fields.precision,custom_fields.reference_value.gid,custom_fields.reference_value.name,custom_fields.reference_value.resource_type,custom_fields.text_value,custom_fields.date_value.date,custom_fields.date_value.date_time,due_at,due_on,followers.gid,followers.name,followers.resource_type,html_notes,memberships.project.gid,memberships.project.name,memberships.project.resource_type,memberships.section.gid,memberships.section.name,memberships.section.resource_type,modified_at,notes,parent.gid,parent.name,parent.resource_type,permalink_url,projects.gid,projects.name,projects.resource_type,start_at,start_on,tags.gid,tags.name,tags.resource_type,workspace.gid,workspace.name,workspace.resource_type"
|
|
93
|
+
|
|
90
94
|
export const ASANA_TASK_SCHEMA = ASANA_RESOURCE_SCHEMA.extend({
|
|
91
95
|
/** Current assignee. */
|
|
92
96
|
assignee: ASANA_RESOURCE_SCHEMA.optional(),
|