@automate.ax/integration-contracts 0.112.7 → 0.112.8

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.
@@ -23,8 +23,8 @@ export declare const asanaTriggerContracts: {
23
23
  type: z.ZodOptional<z.ZodString>;
24
24
  }, z.core.$strip>>;
25
25
  htmlText: z.ZodOptional<z.ZodString>;
26
- isEdited: z.ZodBoolean;
27
- isPinned: z.ZodBoolean;
26
+ isEdited: z.ZodOptional<z.ZodBoolean>;
27
+ isPinned: z.ZodOptional<z.ZodBoolean>;
28
28
  text: z.ZodString;
29
29
  event: z.ZodObject<{
30
30
  change: z.ZodOptional<z.ZodObject<{
@@ -197,8 +197,8 @@ export declare const ASANA_STORY_SCHEMA: z.ZodObject<{
197
197
  type: z.ZodOptional<z.ZodString>;
198
198
  }, z.core.$strip>>;
199
199
  htmlText: z.ZodOptional<z.ZodString>;
200
- isEdited: z.ZodBoolean;
201
- isPinned: z.ZodBoolean;
200
+ isEdited: z.ZodOptional<z.ZodBoolean>;
201
+ isPinned: z.ZodOptional<z.ZodBoolean>;
202
202
  subtype: z.ZodOptional<z.ZodString>;
203
203
  text: z.ZodString;
204
204
  }, z.core.$strip>;
@@ -569,8 +569,8 @@ export declare const ASANA_COMMENT_ADDED_EVENT_SCHEMA: z.ZodObject<{
569
569
  type: z.ZodOptional<z.ZodString>;
570
570
  }, z.core.$strip>>;
571
571
  htmlText: z.ZodOptional<z.ZodString>;
572
- isEdited: z.ZodBoolean;
573
- isPinned: z.ZodBoolean;
572
+ isEdited: z.ZodOptional<z.ZodBoolean>;
573
+ isPinned: z.ZodOptional<z.ZodBoolean>;
574
574
  text: z.ZodString;
575
575
  event: z.ZodObject<{
576
576
  change: z.ZodOptional<z.ZodObject<{
@@ -820,8 +820,8 @@ export declare const ASANA_PROVIDER_STORY_SCHEMA: z.ZodObject<{
820
820
  resource_type: z.ZodOptional<z.ZodString>;
821
821
  }, z.core.$loose>>>;
822
822
  html_text: z.ZodOptional<z.ZodString>;
823
- is_edited: z.ZodBoolean;
824
- is_pinned: z.ZodBoolean;
823
+ is_edited: z.ZodOptional<z.ZodBoolean>;
824
+ is_pinned: z.ZodOptional<z.ZodBoolean>;
825
825
  resource_subtype: z.ZodOptional<z.ZodString>;
826
826
  text: z.ZodString;
827
827
  }, z.core.$loose>;
@@ -1072,8 +1072,6 @@ export declare function toAsanaTask(value: z.output<typeof ASANA_PROVIDER_TASK_S
1072
1072
  */
1073
1073
  export declare function toAsanaStory(value: z.output<typeof ASANA_PROVIDER_STORY_SCHEMA>): {
1074
1074
  id: string;
1075
- isEdited: boolean;
1076
- isPinned: boolean;
1077
1075
  text: string;
1078
1076
  name?: string | undefined;
1079
1077
  type?: string | undefined;
@@ -1084,6 +1082,8 @@ export declare function toAsanaStory(value: z.output<typeof ASANA_PROVIDER_STORY
1084
1082
  type?: string | undefined;
1085
1083
  } | undefined;
1086
1084
  htmlText?: string | undefined;
1085
+ isEdited?: boolean | undefined;
1086
+ isPinned?: boolean | undefined;
1087
1087
  subtype?: string | undefined;
1088
1088
  };
1089
1089
  /**
@@ -1128,8 +1128,6 @@ export declare function normalizeAsanaEvent(value: unknown, watchedResourceId: s
1128
1128
  */
1129
1129
  export declare function normalizeAsanaStory(value: unknown): {
1130
1130
  id: string;
1131
- isEdited: boolean;
1132
- isPinned: boolean;
1133
1131
  text: string;
1134
1132
  name?: string | undefined;
1135
1133
  type?: string | undefined;
@@ -1140,6 +1138,8 @@ export declare function normalizeAsanaStory(value: unknown): {
1140
1138
  type?: string | undefined;
1141
1139
  } | undefined;
1142
1140
  htmlText?: string | undefined;
1141
+ isEdited?: boolean | undefined;
1142
+ isPinned?: boolean | undefined;
1143
1143
  subtype?: string | undefined;
1144
1144
  };
1145
1145
  /**
@@ -111,9 +111,9 @@ export const ASANA_STORY_SCHEMA = ASANA_RESOURCE_SCHEMA.extend({
111
111
  /** Rich-text comment content. */
112
112
  htmlText: z.string().optional(),
113
113
  /** Whether the comment was edited. */
114
- isEdited: z.boolean(),
114
+ isEdited: z.boolean().optional(),
115
115
  /** Whether the story is pinned. */
116
- isPinned: z.boolean(),
116
+ isPinned: z.boolean().optional(),
117
117
  /** Story subtype, such as `comment_added`. */
118
118
  subtype: z.string().optional(),
119
119
  /** Plain-text story or comment content. */
@@ -286,8 +286,8 @@ export const ASANA_PROVIDER_STORY_SCHEMA = ASANA_PROVIDER_RESOURCE_SCHEMA.extend
286
286
  created_at: z.string().optional(),
287
287
  created_by: ASANA_PROVIDER_RESOURCE_SCHEMA.nullish(),
288
288
  html_text: z.string().optional(),
289
- is_edited: z.boolean(),
290
- is_pinned: z.boolean(),
289
+ is_edited: z.boolean().optional(),
290
+ is_pinned: z.boolean().optional(),
291
291
  resource_subtype: z.string().optional(),
292
292
  text: z.string(),
293
293
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/integration-contracts",
3
- "version": "0.112.7",
3
+ "version": "0.112.8",
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.7",
53
+ "@automate.ax/codec": "0.112.8",
54
54
  "@cfworker/json-schema": "^4.1.1",
55
55
  "@googleapis/calendar": "^15.0.0",
56
56
  "@googleapis/forms": "^6.0.1",
@@ -169,10 +169,10 @@ export const ASANA_STORY_SCHEMA = ASANA_RESOURCE_SCHEMA.extend({
169
169
  htmlText: z.string().optional(),
170
170
 
171
171
  /** Whether the comment was edited. */
172
- isEdited: z.boolean(),
172
+ isEdited: z.boolean().optional(),
173
173
 
174
174
  /** Whether the story is pinned. */
175
- isPinned: z.boolean(),
175
+ isPinned: z.boolean().optional(),
176
176
 
177
177
  /** Story subtype, such as `comment_added`. */
178
178
  subtype: z.string().optional(),
@@ -399,8 +399,8 @@ export const ASANA_PROVIDER_STORY_SCHEMA =
399
399
  created_at: z.string().optional(),
400
400
  created_by: ASANA_PROVIDER_RESOURCE_SCHEMA.nullish(),
401
401
  html_text: z.string().optional(),
402
- is_edited: z.boolean(),
403
- is_pinned: z.boolean(),
402
+ is_edited: z.boolean().optional(),
403
+ is_pinned: z.boolean().optional(),
404
404
  resource_subtype: z.string().optional(),
405
405
  text: z.string(),
406
406
  })