@unified-api/typescript-sdk 2.66.0 → 2.68.0
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/docs/sdks/unified/README.md +2 -2
- package/docs/sdks/webhook/README.md +2 -2
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/models/shared/index.d.ts +0 -5
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +0 -5
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/integration.d.ts +638 -9
- package/sdk/models/shared/integration.d.ts.map +1 -1
- package/sdk/models/shared/integration.js +935 -6
- package/sdk/models/shared/integration.js.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +6 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/webhook.d.ts +3 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +1 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/sdk/models/shared/index.ts +0 -5
- package/src/sdk/models/shared/integration.ts +1860 -14
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
- package/src/sdk/models/shared/webhook.ts +1 -0
- package/sdk/models/shared/integrationsupport.d.ts +0 -2036
- package/sdk/models/shared/integrationsupport.d.ts.map +0 -1
- package/sdk/models/shared/integrationsupport.js +0 -1704
- package/sdk/models/shared/integrationsupport.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts +0 -36
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.js +0 -69
- package/sdk/models/shared/propertyintegrationsupportwebhookevents.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.d.ts +0 -28
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.js +0 -51
- package/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.d.ts +0 -28
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.js +0 -51
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.js.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.d.ts +0 -28
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.d.ts.map +0 -1
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.js +0 -51
- package/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.js.map +0 -1
- package/src/sdk/models/shared/integrationsupport.ts +0 -2308
- package/src/sdk/models/shared/propertyintegrationsupportwebhookevents.ts +0 -109
- package/src/sdk/models/shared/propertyintegrationsupportwebhookeventscreated.ts +0 -37
- package/src/sdk/models/shared/propertyintegrationsupportwebhookeventsdeleted.ts +0 -37
- package/src/sdk/models/shared/propertyintegrationsupportwebhookeventsupdated.ts +0 -37
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
PropertyIntegrationSupportWebhookEventsCreated,
|
|
11
|
-
PropertyIntegrationSupportWebhookEventsCreated$inboundSchema,
|
|
12
|
-
PropertyIntegrationSupportWebhookEventsCreated$outboundSchema,
|
|
13
|
-
} from "./propertyintegrationsupportwebhookeventscreated.js";
|
|
14
|
-
import {
|
|
15
|
-
PropertyIntegrationSupportWebhookEventsDeleted,
|
|
16
|
-
PropertyIntegrationSupportWebhookEventsDeleted$inboundSchema,
|
|
17
|
-
PropertyIntegrationSupportWebhookEventsDeleted$outboundSchema,
|
|
18
|
-
} from "./propertyintegrationsupportwebhookeventsdeleted.js";
|
|
19
|
-
import {
|
|
20
|
-
PropertyIntegrationSupportWebhookEventsUpdated,
|
|
21
|
-
PropertyIntegrationSupportWebhookEventsUpdated$inboundSchema,
|
|
22
|
-
PropertyIntegrationSupportWebhookEventsUpdated$outboundSchema,
|
|
23
|
-
} from "./propertyintegrationsupportwebhookeventsupdated.js";
|
|
24
|
-
|
|
25
|
-
export type PropertyIntegrationSupportWebhookEvents = {
|
|
26
|
-
created?: Array<PropertyIntegrationSupportWebhookEventsCreated> | undefined;
|
|
27
|
-
deleted?: Array<PropertyIntegrationSupportWebhookEventsDeleted> | undefined;
|
|
28
|
-
updated?: Array<PropertyIntegrationSupportWebhookEventsUpdated> | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/** @internal */
|
|
32
|
-
export const PropertyIntegrationSupportWebhookEvents$inboundSchema: z.ZodType<
|
|
33
|
-
PropertyIntegrationSupportWebhookEvents,
|
|
34
|
-
z.ZodTypeDef,
|
|
35
|
-
unknown
|
|
36
|
-
> = z.object({
|
|
37
|
-
created: z.array(PropertyIntegrationSupportWebhookEventsCreated$inboundSchema)
|
|
38
|
-
.optional(),
|
|
39
|
-
deleted: z.array(PropertyIntegrationSupportWebhookEventsDeleted$inboundSchema)
|
|
40
|
-
.optional(),
|
|
41
|
-
updated: z.array(PropertyIntegrationSupportWebhookEventsUpdated$inboundSchema)
|
|
42
|
-
.optional(),
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export type PropertyIntegrationSupportWebhookEvents$Outbound = {
|
|
47
|
-
created?: Array<string> | undefined;
|
|
48
|
-
deleted?: Array<string> | undefined;
|
|
49
|
-
updated?: Array<string> | undefined;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const PropertyIntegrationSupportWebhookEvents$outboundSchema: z.ZodType<
|
|
54
|
-
PropertyIntegrationSupportWebhookEvents$Outbound,
|
|
55
|
-
z.ZodTypeDef,
|
|
56
|
-
PropertyIntegrationSupportWebhookEvents
|
|
57
|
-
> = z.object({
|
|
58
|
-
created: z.array(
|
|
59
|
-
PropertyIntegrationSupportWebhookEventsCreated$outboundSchema,
|
|
60
|
-
).optional(),
|
|
61
|
-
deleted: z.array(
|
|
62
|
-
PropertyIntegrationSupportWebhookEventsDeleted$outboundSchema,
|
|
63
|
-
).optional(),
|
|
64
|
-
updated: z.array(
|
|
65
|
-
PropertyIntegrationSupportWebhookEventsUpdated$outboundSchema,
|
|
66
|
-
).optional(),
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
-
*/
|
|
73
|
-
export namespace PropertyIntegrationSupportWebhookEvents$ {
|
|
74
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEvents$inboundSchema` instead. */
|
|
75
|
-
export const inboundSchema =
|
|
76
|
-
PropertyIntegrationSupportWebhookEvents$inboundSchema;
|
|
77
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEvents$outboundSchema` instead. */
|
|
78
|
-
export const outboundSchema =
|
|
79
|
-
PropertyIntegrationSupportWebhookEvents$outboundSchema;
|
|
80
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEvents$Outbound` instead. */
|
|
81
|
-
export type Outbound = PropertyIntegrationSupportWebhookEvents$Outbound;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function propertyIntegrationSupportWebhookEventsToJSON(
|
|
85
|
-
propertyIntegrationSupportWebhookEvents:
|
|
86
|
-
PropertyIntegrationSupportWebhookEvents,
|
|
87
|
-
): string {
|
|
88
|
-
return JSON.stringify(
|
|
89
|
-
PropertyIntegrationSupportWebhookEvents$outboundSchema.parse(
|
|
90
|
-
propertyIntegrationSupportWebhookEvents,
|
|
91
|
-
),
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export function propertyIntegrationSupportWebhookEventsFromJSON(
|
|
96
|
-
jsonString: string,
|
|
97
|
-
): SafeParseResult<
|
|
98
|
-
PropertyIntegrationSupportWebhookEvents,
|
|
99
|
-
SDKValidationError
|
|
100
|
-
> {
|
|
101
|
-
return safeParse(
|
|
102
|
-
jsonString,
|
|
103
|
-
(x) =>
|
|
104
|
-
PropertyIntegrationSupportWebhookEvents$inboundSchema.parse(
|
|
105
|
-
JSON.parse(x),
|
|
106
|
-
),
|
|
107
|
-
`Failed to parse 'PropertyIntegrationSupportWebhookEvents' from JSON`,
|
|
108
|
-
);
|
|
109
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
export const PropertyIntegrationSupportWebhookEventsCreated = {
|
|
9
|
-
Virtual: "virtual",
|
|
10
|
-
Native: "native",
|
|
11
|
-
} as const;
|
|
12
|
-
export type PropertyIntegrationSupportWebhookEventsCreated = ClosedEnum<
|
|
13
|
-
typeof PropertyIntegrationSupportWebhookEventsCreated
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const PropertyIntegrationSupportWebhookEventsCreated$inboundSchema:
|
|
18
|
-
z.ZodNativeEnum<typeof PropertyIntegrationSupportWebhookEventsCreated> = z
|
|
19
|
-
.nativeEnum(PropertyIntegrationSupportWebhookEventsCreated);
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const PropertyIntegrationSupportWebhookEventsCreated$outboundSchema:
|
|
23
|
-
z.ZodNativeEnum<typeof PropertyIntegrationSupportWebhookEventsCreated> =
|
|
24
|
-
PropertyIntegrationSupportWebhookEventsCreated$inboundSchema;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export namespace PropertyIntegrationSupportWebhookEventsCreated$ {
|
|
31
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEventsCreated$inboundSchema` instead. */
|
|
32
|
-
export const inboundSchema =
|
|
33
|
-
PropertyIntegrationSupportWebhookEventsCreated$inboundSchema;
|
|
34
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEventsCreated$outboundSchema` instead. */
|
|
35
|
-
export const outboundSchema =
|
|
36
|
-
PropertyIntegrationSupportWebhookEventsCreated$outboundSchema;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
export const PropertyIntegrationSupportWebhookEventsDeleted = {
|
|
9
|
-
Virtual: "virtual",
|
|
10
|
-
Native: "native",
|
|
11
|
-
} as const;
|
|
12
|
-
export type PropertyIntegrationSupportWebhookEventsDeleted = ClosedEnum<
|
|
13
|
-
typeof PropertyIntegrationSupportWebhookEventsDeleted
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const PropertyIntegrationSupportWebhookEventsDeleted$inboundSchema:
|
|
18
|
-
z.ZodNativeEnum<typeof PropertyIntegrationSupportWebhookEventsDeleted> = z
|
|
19
|
-
.nativeEnum(PropertyIntegrationSupportWebhookEventsDeleted);
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const PropertyIntegrationSupportWebhookEventsDeleted$outboundSchema:
|
|
23
|
-
z.ZodNativeEnum<typeof PropertyIntegrationSupportWebhookEventsDeleted> =
|
|
24
|
-
PropertyIntegrationSupportWebhookEventsDeleted$inboundSchema;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export namespace PropertyIntegrationSupportWebhookEventsDeleted$ {
|
|
31
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEventsDeleted$inboundSchema` instead. */
|
|
32
|
-
export const inboundSchema =
|
|
33
|
-
PropertyIntegrationSupportWebhookEventsDeleted$inboundSchema;
|
|
34
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEventsDeleted$outboundSchema` instead. */
|
|
35
|
-
export const outboundSchema =
|
|
36
|
-
PropertyIntegrationSupportWebhookEventsDeleted$outboundSchema;
|
|
37
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
export const PropertyIntegrationSupportWebhookEventsUpdated = {
|
|
9
|
-
Virtual: "virtual",
|
|
10
|
-
Native: "native",
|
|
11
|
-
} as const;
|
|
12
|
-
export type PropertyIntegrationSupportWebhookEventsUpdated = ClosedEnum<
|
|
13
|
-
typeof PropertyIntegrationSupportWebhookEventsUpdated
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const PropertyIntegrationSupportWebhookEventsUpdated$inboundSchema:
|
|
18
|
-
z.ZodNativeEnum<typeof PropertyIntegrationSupportWebhookEventsUpdated> = z
|
|
19
|
-
.nativeEnum(PropertyIntegrationSupportWebhookEventsUpdated);
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const PropertyIntegrationSupportWebhookEventsUpdated$outboundSchema:
|
|
23
|
-
z.ZodNativeEnum<typeof PropertyIntegrationSupportWebhookEventsUpdated> =
|
|
24
|
-
PropertyIntegrationSupportWebhookEventsUpdated$inboundSchema;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @internal
|
|
28
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
29
|
-
*/
|
|
30
|
-
export namespace PropertyIntegrationSupportWebhookEventsUpdated$ {
|
|
31
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEventsUpdated$inboundSchema` instead. */
|
|
32
|
-
export const inboundSchema =
|
|
33
|
-
PropertyIntegrationSupportWebhookEventsUpdated$inboundSchema;
|
|
34
|
-
/** @deprecated use `PropertyIntegrationSupportWebhookEventsUpdated$outboundSchema` instead. */
|
|
35
|
-
export const outboundSchema =
|
|
36
|
-
PropertyIntegrationSupportWebhookEventsUpdated$outboundSchema;
|
|
37
|
-
}
|