@automate.ax/integration-contracts 0.163.0 → 0.163.2
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/github/additional-events.d.ts +1 -1
- package/dist/github/additional-events.js +1 -0
- package/dist/github/openapi-types.generated.d.ts +0 -21
- package/dist/github/rest-schemas.generated.json +1 -1
- package/dist/github/webhook-schemas.generated.json +1 -1
- package/dist/highlevel/events.d.ts +8 -8
- package/dist/highlevel/events.js +2 -2
- package/package.json +2 -2
- package/src/github/additional-events.ts +2 -0
- package/src/github/openapi-types.generated.ts +0 -21
- package/src/github/rest-schemas.generated.json +1 -1
- package/src/github/webhook-schemas.generated.json +1 -1
- package/src/highlevel/events.ts +2 -2
|
@@ -261,10 +261,10 @@ export declare const HIGH_LEVEL_EVENT_SCHEMAS: {
|
|
|
261
261
|
dateAdded: z.ZodOptional<z.ZodString>;
|
|
262
262
|
direction: z.ZodOptional<z.ZodString>;
|
|
263
263
|
emailMessageId: z.ZodOptional<z.ZodString>;
|
|
264
|
-
from: z.ZodOptional<z.ZodString
|
|
264
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
265
265
|
messageId: z.ZodOptional<z.ZodString>;
|
|
266
266
|
messageType: z.ZodOptional<z.ZodString>;
|
|
267
|
-
messageTypeId: z.ZodOptional<z.
|
|
267
|
+
messageTypeId: z.ZodOptional<z.ZodNumber>;
|
|
268
268
|
messageTypeString: z.ZodOptional<z.ZodString>;
|
|
269
269
|
provider: z.ZodOptional<z.ZodString>;
|
|
270
270
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -448,10 +448,10 @@ export declare const HIGH_LEVEL_EVENT_SCHEMAS: {
|
|
|
448
448
|
dateAdded: z.ZodOptional<z.ZodString>;
|
|
449
449
|
direction: z.ZodOptional<z.ZodString>;
|
|
450
450
|
emailMessageId: z.ZodOptional<z.ZodString>;
|
|
451
|
-
from: z.ZodOptional<z.ZodString
|
|
451
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
452
452
|
messageId: z.ZodOptional<z.ZodString>;
|
|
453
453
|
messageType: z.ZodOptional<z.ZodString>;
|
|
454
|
-
messageTypeId: z.ZodOptional<z.
|
|
454
|
+
messageTypeId: z.ZodOptional<z.ZodNumber>;
|
|
455
455
|
messageTypeString: z.ZodOptional<z.ZodString>;
|
|
456
456
|
provider: z.ZodOptional<z.ZodString>;
|
|
457
457
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -808,10 +808,10 @@ export declare const HIGH_LEVEL_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
808
808
|
dateAdded: z.ZodOptional<z.ZodString>;
|
|
809
809
|
direction: z.ZodOptional<z.ZodString>;
|
|
810
810
|
emailMessageId: z.ZodOptional<z.ZodString>;
|
|
811
|
-
from: z.ZodOptional<z.ZodString
|
|
811
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
812
812
|
messageId: z.ZodOptional<z.ZodString>;
|
|
813
813
|
messageType: z.ZodOptional<z.ZodString>;
|
|
814
|
-
messageTypeId: z.ZodOptional<z.
|
|
814
|
+
messageTypeId: z.ZodOptional<z.ZodNumber>;
|
|
815
815
|
messageTypeString: z.ZodOptional<z.ZodString>;
|
|
816
816
|
provider: z.ZodOptional<z.ZodString>;
|
|
817
817
|
source: z.ZodOptional<z.ZodString>;
|
|
@@ -983,10 +983,10 @@ export declare const HIGH_LEVEL_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
983
983
|
dateAdded: z.ZodOptional<z.ZodString>;
|
|
984
984
|
direction: z.ZodOptional<z.ZodString>;
|
|
985
985
|
emailMessageId: z.ZodOptional<z.ZodString>;
|
|
986
|
-
from: z.ZodOptional<z.ZodString
|
|
986
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
987
987
|
messageId: z.ZodOptional<z.ZodString>;
|
|
988
988
|
messageType: z.ZodOptional<z.ZodString>;
|
|
989
|
-
messageTypeId: z.ZodOptional<z.
|
|
989
|
+
messageTypeId: z.ZodOptional<z.ZodNumber>;
|
|
990
990
|
messageTypeString: z.ZodOptional<z.ZodString>;
|
|
991
991
|
provider: z.ZodOptional<z.ZodString>;
|
|
992
992
|
source: z.ZodOptional<z.ZodString>;
|
package/dist/highlevel/events.js
CHANGED
|
@@ -80,10 +80,10 @@ const MESSAGE_FIELDS = {
|
|
|
80
80
|
dateAdded: z.string().optional(),
|
|
81
81
|
direction: z.string().optional(),
|
|
82
82
|
emailMessageId: z.string().optional(),
|
|
83
|
-
from: z.string().
|
|
83
|
+
from: z.union([z.string(), z.string().array()]).nullish(),
|
|
84
84
|
messageId: z.string().optional(),
|
|
85
85
|
messageType: z.string().optional(),
|
|
86
|
-
messageTypeId: z.
|
|
86
|
+
messageTypeId: z.number().optional(),
|
|
87
87
|
messageTypeString: z.string().optional(),
|
|
88
88
|
provider: z.string().optional(),
|
|
89
89
|
source: z.string().optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/integration-contracts",
|
|
3
|
-
"version": "0.163.
|
|
3
|
+
"version": "0.163.2",
|
|
4
4
|
"description": "Shared integration payload contracts and provider primitives for Automate.ax.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.automate.ax",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@anthropic-ai/sdk": "0.123.0",
|
|
68
|
-
"@automate.ax/codec": "0.163.
|
|
68
|
+
"@automate.ax/codec": "0.163.2",
|
|
69
69
|
"@cfworker/json-schema": "^4.1.1",
|
|
70
70
|
"@googleapis/calendar": "^16.0.0",
|
|
71
71
|
"@googleapis/forms": "^6.0.1",
|
|
@@ -379,6 +379,7 @@ export type GitHubDeploymentStatusEvent =
|
|
|
379
379
|
| "pending"
|
|
380
380
|
| "queued"
|
|
381
381
|
| "success"
|
|
382
|
+
| "waiting"
|
|
382
383
|
}
|
|
383
384
|
}
|
|
384
385
|
export type GitHubDeploymentQueuedEvent = GitHubDeploymentStatusEvent & {
|
|
@@ -1017,6 +1018,7 @@ export const GITHUB_DEPLOYMENT_STATUS_EVENT_SCHEMA: GitHubWebhookSchema<GitHubDe
|
|
|
1017
1018
|
"pending",
|
|
1018
1019
|
"queued",
|
|
1019
1020
|
"success",
|
|
1021
|
+
"waiting",
|
|
1020
1022
|
].includes(event.deployment_status.state),
|
|
1021
1023
|
)
|
|
1022
1024
|
export const GITHUB_DEPLOYMENT_QUEUED_EVENT_SCHEMA: GitHubWebhookSchema<GitHubDeploymentQueuedEvent> =
|
|
@@ -4561,7 +4561,6 @@ export type components = {
|
|
|
4561
4561
|
/** @description Information about the Git author */
|
|
4562
4562
|
author: {
|
|
4563
4563
|
/**
|
|
4564
|
-
* Format: email
|
|
4565
4564
|
* @description Git email address of the commit's author
|
|
4566
4565
|
* @example monalisa.octocat@example.com
|
|
4567
4566
|
*/
|
|
@@ -4575,7 +4574,6 @@ export type components = {
|
|
|
4575
4574
|
/** @description Information about the Git committer */
|
|
4576
4575
|
committer: {
|
|
4577
4576
|
/**
|
|
4578
|
-
* Format: email
|
|
4579
4577
|
* @description Git email address of the commit's committer
|
|
4580
4578
|
* @example monalisa.octocat@example.com
|
|
4581
4579
|
*/
|
|
@@ -5092,7 +5090,6 @@ export type components = {
|
|
|
5092
5090
|
author: {
|
|
5093
5091
|
/** Format: date-time */
|
|
5094
5092
|
date?: string;
|
|
5095
|
-
/** Format: email */
|
|
5096
5093
|
email: string | null;
|
|
5097
5094
|
/** @description The git author's name. */
|
|
5098
5095
|
name: string;
|
|
@@ -5105,7 +5102,6 @@ export type components = {
|
|
|
5105
5102
|
committer: {
|
|
5106
5103
|
/** Format: date-time */
|
|
5107
5104
|
date?: string;
|
|
5108
|
-
/** Format: email */
|
|
5109
5105
|
email: string | null;
|
|
5110
5106
|
/** @description The git author's name. */
|
|
5111
5107
|
name: string;
|
|
@@ -5348,7 +5344,6 @@ export type components = {
|
|
|
5348
5344
|
author: {
|
|
5349
5345
|
/** Format: date-time */
|
|
5350
5346
|
date?: string;
|
|
5351
|
-
/** Format: email */
|
|
5352
5347
|
email: string | null;
|
|
5353
5348
|
/** @description The git author's name. */
|
|
5354
5349
|
name: string;
|
|
@@ -5361,7 +5356,6 @@ export type components = {
|
|
|
5361
5356
|
committer: {
|
|
5362
5357
|
/** Format: date-time */
|
|
5363
5358
|
date?: string;
|
|
5364
|
-
/** Format: email */
|
|
5365
5359
|
email: string | null;
|
|
5366
5360
|
/** @description The git author's name. */
|
|
5367
5361
|
name: string;
|
|
@@ -5604,7 +5598,6 @@ export type components = {
|
|
|
5604
5598
|
author: {
|
|
5605
5599
|
/** Format: date-time */
|
|
5606
5600
|
date?: string;
|
|
5607
|
-
/** Format: email */
|
|
5608
5601
|
email: string | null;
|
|
5609
5602
|
/** @description The git author's name. */
|
|
5610
5603
|
name: string;
|
|
@@ -5617,7 +5610,6 @@ export type components = {
|
|
|
5617
5610
|
committer: {
|
|
5618
5611
|
/** Format: date-time */
|
|
5619
5612
|
date?: string;
|
|
5620
|
-
/** Format: email */
|
|
5621
5613
|
email: string | null;
|
|
5622
5614
|
/** @description The git author's name. */
|
|
5623
5615
|
name: string;
|
|
@@ -46446,7 +46438,6 @@ export type components = {
|
|
|
46446
46438
|
author: {
|
|
46447
46439
|
/** Format: date-time */
|
|
46448
46440
|
date?: string;
|
|
46449
|
-
/** Format: email */
|
|
46450
46441
|
email: string | null;
|
|
46451
46442
|
/** @description The git author's name. */
|
|
46452
46443
|
name: string;
|
|
@@ -46459,7 +46450,6 @@ export type components = {
|
|
|
46459
46450
|
committer: {
|
|
46460
46451
|
/** Format: date-time */
|
|
46461
46452
|
date?: string;
|
|
46462
|
-
/** Format: email */
|
|
46463
46453
|
email: string | null;
|
|
46464
46454
|
/** @description The git author's name. */
|
|
46465
46455
|
name: string;
|
|
@@ -46506,7 +46496,6 @@ export type components = {
|
|
|
46506
46496
|
author: {
|
|
46507
46497
|
/** Format: date-time */
|
|
46508
46498
|
date?: string;
|
|
46509
|
-
/** Format: email */
|
|
46510
46499
|
email: string | null;
|
|
46511
46500
|
/** @description The git author's name. */
|
|
46512
46501
|
name: string;
|
|
@@ -46519,7 +46508,6 @@ export type components = {
|
|
|
46519
46508
|
committer: {
|
|
46520
46509
|
/** Format: date-time */
|
|
46521
46510
|
date?: string;
|
|
46522
|
-
/** Format: email */
|
|
46523
46511
|
email: string | null;
|
|
46524
46512
|
/** @description The git author's name. */
|
|
46525
46513
|
name: string;
|
|
@@ -46555,7 +46543,6 @@ export type components = {
|
|
|
46555
46543
|
pusher: {
|
|
46556
46544
|
/** Format: date-time */
|
|
46557
46545
|
date?: string;
|
|
46558
|
-
/** Format: email */
|
|
46559
46546
|
email?: string | null;
|
|
46560
46547
|
/** @description The git author's name. */
|
|
46561
46548
|
name: string;
|
|
@@ -47329,7 +47316,6 @@ export type components = {
|
|
|
47329
47316
|
author: {
|
|
47330
47317
|
/** Format: date-time */
|
|
47331
47318
|
date?: string;
|
|
47332
|
-
/** Format: email */
|
|
47333
47319
|
email: string | null;
|
|
47334
47320
|
/** @description The git author's name. */
|
|
47335
47321
|
name: string;
|
|
@@ -47343,7 +47329,6 @@ export type components = {
|
|
|
47343
47329
|
committer: {
|
|
47344
47330
|
/** Format: date-time */
|
|
47345
47331
|
date?: string;
|
|
47346
|
-
/** Format: email */
|
|
47347
47332
|
email: string | null;
|
|
47348
47333
|
/** @description The git author's name. */
|
|
47349
47334
|
name: string;
|
|
@@ -47895,7 +47880,6 @@ export type components = {
|
|
|
47895
47880
|
author: {
|
|
47896
47881
|
/** Format: date-time */
|
|
47897
47882
|
date?: string;
|
|
47898
|
-
/** Format: email */
|
|
47899
47883
|
email: string | null;
|
|
47900
47884
|
/** @description The git author's name. */
|
|
47901
47885
|
name: string;
|
|
@@ -47908,7 +47892,6 @@ export type components = {
|
|
|
47908
47892
|
committer: {
|
|
47909
47893
|
/** Format: date-time */
|
|
47910
47894
|
date?: string;
|
|
47911
|
-
/** Format: email */
|
|
47912
47895
|
email: string | null;
|
|
47913
47896
|
/** @description The git author's name. */
|
|
47914
47897
|
name: string;
|
|
@@ -48346,7 +48329,6 @@ export type components = {
|
|
|
48346
48329
|
author: {
|
|
48347
48330
|
/** Format: date-time */
|
|
48348
48331
|
date?: string;
|
|
48349
|
-
/** Format: email */
|
|
48350
48332
|
email: string | null;
|
|
48351
48333
|
/** @description The git author's name. */
|
|
48352
48334
|
name: string;
|
|
@@ -48359,7 +48341,6 @@ export type components = {
|
|
|
48359
48341
|
committer: {
|
|
48360
48342
|
/** Format: date-time */
|
|
48361
48343
|
date?: string;
|
|
48362
|
-
/** Format: email */
|
|
48363
48344
|
email: string | null;
|
|
48364
48345
|
/** @description The git author's name. */
|
|
48365
48346
|
name: string;
|
|
@@ -48796,7 +48777,6 @@ export type components = {
|
|
|
48796
48777
|
author: {
|
|
48797
48778
|
/** Format: date-time */
|
|
48798
48779
|
date?: string;
|
|
48799
|
-
/** Format: email */
|
|
48800
48780
|
email: string | null;
|
|
48801
48781
|
/** @description The git author's name. */
|
|
48802
48782
|
name: string;
|
|
@@ -48809,7 +48789,6 @@ export type components = {
|
|
|
48809
48789
|
committer: {
|
|
48810
48790
|
/** Format: date-time */
|
|
48811
48791
|
date?: string;
|
|
48812
|
-
/** Format: email */
|
|
48813
48792
|
email: string | null;
|
|
48814
48793
|
/** @description The git author's name. */
|
|
48815
48794
|
name: string;
|