@unified-api/typescript-sdk 2.83.14 → 2.83.16

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.
Files changed (116) hide show
  1. package/dist/commonjs/funcs/accountingListAccountingTransactions.js +2 -0
  2. package/dist/commonjs/funcs/accountingListAccountingTransactions.js.map +1 -1
  3. package/dist/commonjs/funcs/paymentListPaymentPayments.js +2 -0
  4. package/dist/commonjs/funcs/paymentListPaymentPayments.js.map +1 -1
  5. package/dist/commonjs/lib/config.d.ts +3 -3
  6. package/dist/commonjs/lib/config.js +3 -3
  7. package/dist/commonjs/sdk/models/operations/createmartechlist.d.ts +6 -0
  8. package/dist/commonjs/sdk/models/operations/createmartechlist.d.ts.map +1 -1
  9. package/dist/commonjs/sdk/models/operations/createmartechlist.js +6 -0
  10. package/dist/commonjs/sdk/models/operations/createmartechlist.js.map +1 -1
  11. package/dist/commonjs/sdk/models/operations/getmartechlist.d.ts +6 -0
  12. package/dist/commonjs/sdk/models/operations/getmartechlist.d.ts.map +1 -1
  13. package/dist/commonjs/sdk/models/operations/getmartechlist.js +6 -0
  14. package/dist/commonjs/sdk/models/operations/getmartechlist.js.map +1 -1
  15. package/dist/commonjs/sdk/models/operations/listaccountingtransactions.d.ts +10 -0
  16. package/dist/commonjs/sdk/models/operations/listaccountingtransactions.d.ts.map +1 -1
  17. package/dist/commonjs/sdk/models/operations/listaccountingtransactions.js +4 -0
  18. package/dist/commonjs/sdk/models/operations/listaccountingtransactions.js.map +1 -1
  19. package/dist/commonjs/sdk/models/operations/listmartechlists.d.ts +6 -0
  20. package/dist/commonjs/sdk/models/operations/listmartechlists.d.ts.map +1 -1
  21. package/dist/commonjs/sdk/models/operations/listmartechlists.js +6 -0
  22. package/dist/commonjs/sdk/models/operations/listmartechlists.js.map +1 -1
  23. package/dist/commonjs/sdk/models/operations/listpaymentpayments.d.ts +10 -0
  24. package/dist/commonjs/sdk/models/operations/listpaymentpayments.d.ts.map +1 -1
  25. package/dist/commonjs/sdk/models/operations/listpaymentpayments.js +4 -0
  26. package/dist/commonjs/sdk/models/operations/listpaymentpayments.js.map +1 -1
  27. package/dist/commonjs/sdk/models/operations/patchmartechlist.d.ts +6 -0
  28. package/dist/commonjs/sdk/models/operations/patchmartechlist.d.ts.map +1 -1
  29. package/dist/commonjs/sdk/models/operations/patchmartechlist.js +6 -0
  30. package/dist/commonjs/sdk/models/operations/patchmartechlist.js.map +1 -1
  31. package/dist/commonjs/sdk/models/operations/updatemartechlist.d.ts +6 -0
  32. package/dist/commonjs/sdk/models/operations/updatemartechlist.d.ts.map +1 -1
  33. package/dist/commonjs/sdk/models/operations/updatemartechlist.js +6 -0
  34. package/dist/commonjs/sdk/models/operations/updatemartechlist.js.map +1 -1
  35. package/dist/commonjs/sdk/models/shared/index.d.ts +1 -0
  36. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  37. package/dist/commonjs/sdk/models/shared/index.js +1 -0
  38. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  39. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +34 -1
  40. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  41. package/dist/commonjs/sdk/models/shared/integrationsupport.js +95 -3
  42. package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
  43. package/dist/commonjs/sdk/models/shared/marketinglist.d.ts +13 -0
  44. package/dist/commonjs/sdk/models/shared/marketinglist.d.ts.map +1 -1
  45. package/dist/commonjs/sdk/models/shared/marketinglist.js +17 -0
  46. package/dist/commonjs/sdk/models/shared/marketinglist.js.map +1 -1
  47. package/dist/commonjs/sdk/models/shared/propertymarketinglistaddress.d.ts +39 -0
  48. package/dist/commonjs/sdk/models/shared/propertymarketinglistaddress.d.ts.map +1 -0
  49. package/dist/commonjs/sdk/models/shared/propertymarketinglistaddress.js +91 -0
  50. package/dist/commonjs/sdk/models/shared/propertymarketinglistaddress.js.map +1 -0
  51. package/dist/esm/funcs/accountingListAccountingTransactions.js +2 -0
  52. package/dist/esm/funcs/accountingListAccountingTransactions.js.map +1 -1
  53. package/dist/esm/funcs/paymentListPaymentPayments.js +2 -0
  54. package/dist/esm/funcs/paymentListPaymentPayments.js.map +1 -1
  55. package/dist/esm/lib/config.d.ts +3 -3
  56. package/dist/esm/lib/config.js +3 -3
  57. package/dist/esm/sdk/models/operations/createmartechlist.d.ts +6 -0
  58. package/dist/esm/sdk/models/operations/createmartechlist.d.ts.map +1 -1
  59. package/dist/esm/sdk/models/operations/createmartechlist.js +6 -0
  60. package/dist/esm/sdk/models/operations/createmartechlist.js.map +1 -1
  61. package/dist/esm/sdk/models/operations/getmartechlist.d.ts +6 -0
  62. package/dist/esm/sdk/models/operations/getmartechlist.d.ts.map +1 -1
  63. package/dist/esm/sdk/models/operations/getmartechlist.js +6 -0
  64. package/dist/esm/sdk/models/operations/getmartechlist.js.map +1 -1
  65. package/dist/esm/sdk/models/operations/listaccountingtransactions.d.ts +10 -0
  66. package/dist/esm/sdk/models/operations/listaccountingtransactions.d.ts.map +1 -1
  67. package/dist/esm/sdk/models/operations/listaccountingtransactions.js +4 -0
  68. package/dist/esm/sdk/models/operations/listaccountingtransactions.js.map +1 -1
  69. package/dist/esm/sdk/models/operations/listmartechlists.d.ts +6 -0
  70. package/dist/esm/sdk/models/operations/listmartechlists.d.ts.map +1 -1
  71. package/dist/esm/sdk/models/operations/listmartechlists.js +6 -0
  72. package/dist/esm/sdk/models/operations/listmartechlists.js.map +1 -1
  73. package/dist/esm/sdk/models/operations/listpaymentpayments.d.ts +10 -0
  74. package/dist/esm/sdk/models/operations/listpaymentpayments.d.ts.map +1 -1
  75. package/dist/esm/sdk/models/operations/listpaymentpayments.js +4 -0
  76. package/dist/esm/sdk/models/operations/listpaymentpayments.js.map +1 -1
  77. package/dist/esm/sdk/models/operations/patchmartechlist.d.ts +6 -0
  78. package/dist/esm/sdk/models/operations/patchmartechlist.d.ts.map +1 -1
  79. package/dist/esm/sdk/models/operations/patchmartechlist.js +6 -0
  80. package/dist/esm/sdk/models/operations/patchmartechlist.js.map +1 -1
  81. package/dist/esm/sdk/models/operations/updatemartechlist.d.ts +6 -0
  82. package/dist/esm/sdk/models/operations/updatemartechlist.d.ts.map +1 -1
  83. package/dist/esm/sdk/models/operations/updatemartechlist.js +6 -0
  84. package/dist/esm/sdk/models/operations/updatemartechlist.js.map +1 -1
  85. package/dist/esm/sdk/models/shared/index.d.ts +1 -0
  86. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  87. package/dist/esm/sdk/models/shared/index.js +1 -0
  88. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  89. package/dist/esm/sdk/models/shared/integrationsupport.d.ts +34 -1
  90. package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  91. package/dist/esm/sdk/models/shared/integrationsupport.js +87 -1
  92. package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
  93. package/dist/esm/sdk/models/shared/marketinglist.d.ts +13 -0
  94. package/dist/esm/sdk/models/shared/marketinglist.d.ts.map +1 -1
  95. package/dist/esm/sdk/models/shared/marketinglist.js +17 -0
  96. package/dist/esm/sdk/models/shared/marketinglist.js.map +1 -1
  97. package/dist/esm/sdk/models/shared/propertymarketinglistaddress.d.ts +39 -0
  98. package/dist/esm/sdk/models/shared/propertymarketinglistaddress.d.ts.map +1 -0
  99. package/dist/esm/sdk/models/shared/propertymarketinglistaddress.js +53 -0
  100. package/dist/esm/sdk/models/shared/propertymarketinglistaddress.js.map +1 -0
  101. package/jsr.json +1 -1
  102. package/package.json +1 -1
  103. package/src/funcs/accountingListAccountingTransactions.ts +2 -0
  104. package/src/funcs/paymentListPaymentPayments.ts +2 -0
  105. package/src/lib/config.ts +3 -3
  106. package/src/sdk/models/operations/createmartechlist.ts +6 -0
  107. package/src/sdk/models/operations/getmartechlist.ts +6 -0
  108. package/src/sdk/models/operations/listaccountingtransactions.ts +14 -0
  109. package/src/sdk/models/operations/listmartechlists.ts +6 -0
  110. package/src/sdk/models/operations/listpaymentpayments.ts +14 -0
  111. package/src/sdk/models/operations/patchmartechlist.ts +6 -0
  112. package/src/sdk/models/operations/updatemartechlist.ts +6 -0
  113. package/src/sdk/models/shared/index.ts +1 -0
  114. package/src/sdk/models/shared/integrationsupport.ts +211 -2
  115. package/src/sdk/models/shared/marketinglist.ts +34 -0
  116. package/src/sdk/models/shared/propertymarketinglistaddress.ts +108 -0
@@ -17,6 +17,12 @@ export const CreateMartechListQueryParamFields = {
17
17
  EndAt: "end_at",
18
18
  UserId: "user_id",
19
19
  IsActive: "is_active",
20
+ State: "state",
21
+ FromName: "from_name",
22
+ FromEmail: "from_email",
23
+ Subject: "subject",
24
+ Language: "language",
25
+ Address: "address",
20
26
  Raw: "raw",
21
27
  } as const;
22
28
  export type CreateMartechListQueryParamFields = ClosedEnum<
@@ -16,6 +16,12 @@ export const GetMartechListQueryParamFields = {
16
16
  EndAt: "end_at",
17
17
  UserId: "user_id",
18
18
  IsActive: "is_active",
19
+ State: "state",
20
+ FromName: "from_name",
21
+ FromEmail: "from_email",
22
+ Subject: "subject",
23
+ Language: "language",
24
+ Address: "address",
19
25
  Raw: "raw",
20
26
  } as const;
21
27
  export type GetMartechListQueryParamFields = ClosedEnum<
@@ -39,6 +39,10 @@ export type ListAccountingTransactionsRequest = {
39
39
  * The contact ID to filter by (reference to AccountingContact)
40
40
  */
41
41
  contactId?: string | undefined;
42
+ /**
43
+ * The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
44
+ */
45
+ endLt?: string | undefined;
42
46
  /**
43
47
  * Fields to return
44
48
  */
@@ -55,6 +59,10 @@ export type ListAccountingTransactionsRequest = {
55
59
  */
56
60
  raw?: string | undefined;
57
61
  sort?: string | undefined;
62
+ /**
63
+ * The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
64
+ */
65
+ startGte?: string | undefined;
58
66
  /**
59
67
  * Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
60
68
  */
@@ -70,6 +78,7 @@ export const ListAccountingTransactionsQueryParamFields$outboundSchema:
70
78
  export type ListAccountingTransactionsRequest$Outbound = {
71
79
  connection_id: string;
72
80
  contact_id?: string | undefined;
81
+ end_lt?: string | undefined;
73
82
  fields?: Array<string> | undefined;
74
83
  limit?: number | undefined;
75
84
  offset?: number | undefined;
@@ -77,6 +86,7 @@ export type ListAccountingTransactionsRequest$Outbound = {
77
86
  query?: string | undefined;
78
87
  raw?: string | undefined;
79
88
  sort?: string | undefined;
89
+ start_gte?: string | undefined;
80
90
  updated_gte?: string | undefined;
81
91
  };
82
92
 
@@ -88,6 +98,7 @@ export const ListAccountingTransactionsRequest$outboundSchema: z.ZodType<
88
98
  > = z.object({
89
99
  connectionId: z.string(),
90
100
  contactId: z.string().optional(),
101
+ endLt: z.string().optional(),
91
102
  fields: z.array(ListAccountingTransactionsQueryParamFields$outboundSchema)
92
103
  .optional(),
93
104
  limit: z.number().optional(),
@@ -96,11 +107,14 @@ export const ListAccountingTransactionsRequest$outboundSchema: z.ZodType<
96
107
  query: z.string().optional(),
97
108
  raw: z.string().optional(),
98
109
  sort: z.string().optional(),
110
+ startGte: z.string().optional(),
99
111
  updatedGte: z.string().optional(),
100
112
  }).transform((v) => {
101
113
  return remap$(v, {
102
114
  connectionId: "connection_id",
103
115
  contactId: "contact_id",
116
+ endLt: "end_lt",
117
+ startGte: "start_gte",
104
118
  updatedGte: "updated_gte",
105
119
  });
106
120
  });
@@ -16,6 +16,12 @@ export const ListMartechListsQueryParamFields = {
16
16
  EndAt: "end_at",
17
17
  UserId: "user_id",
18
18
  IsActive: "is_active",
19
+ State: "state",
20
+ FromName: "from_name",
21
+ FromEmail: "from_email",
22
+ Subject: "subject",
23
+ Language: "language",
24
+ Address: "address",
19
25
  Raw: "raw",
20
26
  } as const;
21
27
  export type ListMartechListsQueryParamFields = ClosedEnum<
@@ -39,6 +39,10 @@ export type ListPaymentPaymentsRequest = {
39
39
  * The contact ID to filter by (reference to AccountingContact)
40
40
  */
41
41
  contactId?: string | undefined;
42
+ /**
43
+ * The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
44
+ */
45
+ endLt?: string | undefined;
42
46
  /**
43
47
  * Fields to return
44
48
  */
@@ -63,6 +67,10 @@ export type ListPaymentPaymentsRequest = {
63
67
  */
64
68
  raw?: string | undefined;
65
69
  sort?: string | undefined;
70
+ /**
71
+ * The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
72
+ */
73
+ startGte?: string | undefined;
66
74
  /**
67
75
  * The type to filter by
68
76
  */
@@ -84,6 +92,7 @@ export type ListPaymentPaymentsRequest$Outbound = {
84
92
  bill_id?: string | undefined;
85
93
  connection_id: string;
86
94
  contact_id?: string | undefined;
95
+ end_lt?: string | undefined;
87
96
  fields?: Array<string> | undefined;
88
97
  invoice_id?: string | undefined;
89
98
  limit?: number | undefined;
@@ -93,6 +102,7 @@ export type ListPaymentPaymentsRequest$Outbound = {
93
102
  query?: string | undefined;
94
103
  raw?: string | undefined;
95
104
  sort?: string | undefined;
105
+ start_gte?: string | undefined;
96
106
  type?: string | undefined;
97
107
  updated_gte?: string | undefined;
98
108
  };
@@ -106,6 +116,7 @@ export const ListPaymentPaymentsRequest$outboundSchema: z.ZodType<
106
116
  billId: z.string().optional(),
107
117
  connectionId: z.string(),
108
118
  contactId: z.string().optional(),
119
+ endLt: z.string().optional(),
109
120
  fields: z.array(ListPaymentPaymentsQueryParamFields$outboundSchema)
110
121
  .optional(),
111
122
  invoiceId: z.string().optional(),
@@ -116,6 +127,7 @@ export const ListPaymentPaymentsRequest$outboundSchema: z.ZodType<
116
127
  query: z.string().optional(),
117
128
  raw: z.string().optional(),
118
129
  sort: z.string().optional(),
130
+ startGte: z.string().optional(),
119
131
  type: z.string().optional(),
120
132
  updatedGte: z.string().optional(),
121
133
  }).transform((v) => {
@@ -123,8 +135,10 @@ export const ListPaymentPaymentsRequest$outboundSchema: z.ZodType<
123
135
  billId: "bill_id",
124
136
  connectionId: "connection_id",
125
137
  contactId: "contact_id",
138
+ endLt: "end_lt",
126
139
  invoiceId: "invoice_id",
127
140
  linkId: "link_id",
141
+ startGte: "start_gte",
128
142
  updatedGte: "updated_gte",
129
143
  });
130
144
  });
@@ -17,6 +17,12 @@ export const PatchMartechListQueryParamFields = {
17
17
  EndAt: "end_at",
18
18
  UserId: "user_id",
19
19
  IsActive: "is_active",
20
+ State: "state",
21
+ FromName: "from_name",
22
+ FromEmail: "from_email",
23
+ Subject: "subject",
24
+ Language: "language",
25
+ Address: "address",
20
26
  Raw: "raw",
21
27
  } as const;
22
28
  export type PatchMartechListQueryParamFields = ClosedEnum<
@@ -17,6 +17,12 @@ export const UpdateMartechListQueryParamFields = {
17
17
  EndAt: "end_at",
18
18
  UserId: "user_id",
19
19
  IsActive: "is_active",
20
+ State: "state",
21
+ FromName: "from_name",
22
+ FromEmail: "from_email",
23
+ Subject: "subject",
24
+ Language: "language",
25
+ Address: "address",
20
26
  Raw: "raw",
21
27
  } as const;
22
28
  export type UpdateMartechListQueryParamFields = ClosedEnum<
@@ -266,6 +266,7 @@ export * from "./propertyintegrationsupportwebhookeventscreated.js";
266
266
  export * from "./propertyintegrationsupportwebhookeventsdeleted.js";
267
267
  export * from "./propertyintegrationsupportwebhookeventsupdated.js";
268
268
  export * from "./propertylmsstudentaddress.js";
269
+ export * from "./propertymarketinglistaddress.js";
269
270
  export * from "./propertymessagingeventbutton.js";
270
271
  export * from "./propertymessagingeventchannel.js";
271
272
  export * from "./propertymessagingeventmessage.js";
@@ -681,6 +681,21 @@ export type VirtualWebhookApplicationId = OpenEnum<
681
681
  typeof VirtualWebhookApplicationId
682
682
  >;
683
683
 
684
+ export type IntegrationSupport1 = {};
685
+
686
+ export type IntegrationSupport5 =
687
+ | IntegrationSupport1
688
+ | string
689
+ | number
690
+ | boolean;
691
+
692
+ export type VirtualWebhookBenefitId =
693
+ | { [k: string]: any }
694
+ | string
695
+ | number
696
+ | boolean
697
+ | Array<IntegrationSupport1 | string | number | boolean>;
698
+
684
699
  export const VirtualWebhookBillId = {
685
700
  SupportedRequired: "supported-required",
686
701
  Supported: "supported",
@@ -940,6 +955,21 @@ export const VirtualWebhookParentId = {
940
955
  } as const;
941
956
  export type VirtualWebhookParentId = OpenEnum<typeof VirtualWebhookParentId>;
942
957
 
958
+ export type IntegrationSupportSchemas1 = {};
959
+
960
+ export type IntegrationSupportSchemas5 =
961
+ | IntegrationSupportSchemas1
962
+ | string
963
+ | number
964
+ | boolean;
965
+
966
+ export type VirtualWebhookPaymentId =
967
+ | { [k: string]: any }
968
+ | string
969
+ | number
970
+ | boolean
971
+ | Array<IntegrationSupportSchemas1 | string | number | boolean>;
972
+
943
973
  export const VirtualWebhookPipelineId = {
944
974
  SupportedRequired: "supported-required",
945
975
  Supported: "supported",
@@ -1159,7 +1189,13 @@ export type IntegrationSupport = {
1159
1189
  slowFields?: Array<string> | undefined;
1160
1190
  virtualWebhookAdId?: VirtualWebhookAdId | undefined;
1161
1191
  virtualWebhookApplicationId?: VirtualWebhookApplicationId | undefined;
1162
- virtualWebhookBenefitId?: string | undefined;
1192
+ virtualWebhookBenefitId?:
1193
+ | { [k: string]: any }
1194
+ | string
1195
+ | number
1196
+ | boolean
1197
+ | Array<IntegrationSupport1 | string | number | boolean>
1198
+ | undefined;
1163
1199
  virtualWebhookBillId?: VirtualWebhookBillId | undefined;
1164
1200
  virtualWebhookBranchId?: VirtualWebhookBranchId | undefined;
1165
1201
  virtualWebhookCalendarId?: VirtualWebhookCalendarId | undefined;
@@ -1195,6 +1231,13 @@ export type IntegrationSupport = {
1195
1231
  virtualWebhookOrgId?: VirtualWebhookOrgId | undefined;
1196
1232
  virtualWebhookPageId?: VirtualWebhookPageId | undefined;
1197
1233
  virtualWebhookParentId?: VirtualWebhookParentId | undefined;
1234
+ virtualWebhookPaymentId?:
1235
+ | { [k: string]: any }
1236
+ | string
1237
+ | number
1238
+ | boolean
1239
+ | Array<IntegrationSupportSchemas1 | string | number | boolean>
1240
+ | undefined;
1198
1241
  virtualWebhookPipelineId?: VirtualWebhookPipelineId | undefined;
1199
1242
  virtualWebhookProjectId?: VirtualWebhookProjectId | undefined;
1200
1243
  virtualWebhookRepoId?: VirtualWebhookRepoId | undefined;
@@ -1878,6 +1921,75 @@ export const VirtualWebhookApplicationId$inboundSchema: z.ZodType<
1878
1921
  unknown
1879
1922
  > = openEnums.inboundSchema(VirtualWebhookApplicationId);
1880
1923
 
1924
+ /** @internal */
1925
+ export const IntegrationSupport1$inboundSchema: z.ZodType<
1926
+ IntegrationSupport1,
1927
+ z.ZodTypeDef,
1928
+ unknown
1929
+ > = z.object({});
1930
+
1931
+ export function integrationSupport1FromJSON(
1932
+ jsonString: string,
1933
+ ): SafeParseResult<IntegrationSupport1, SDKValidationError> {
1934
+ return safeParse(
1935
+ jsonString,
1936
+ (x) => IntegrationSupport1$inboundSchema.parse(JSON.parse(x)),
1937
+ `Failed to parse 'IntegrationSupport1' from JSON`,
1938
+ );
1939
+ }
1940
+
1941
+ /** @internal */
1942
+ export const IntegrationSupport5$inboundSchema: z.ZodType<
1943
+ IntegrationSupport5,
1944
+ z.ZodTypeDef,
1945
+ unknown
1946
+ > = z.union([
1947
+ z.lazy(() => IntegrationSupport1$inboundSchema),
1948
+ z.string(),
1949
+ z.number(),
1950
+ z.boolean(),
1951
+ ]);
1952
+
1953
+ export function integrationSupport5FromJSON(
1954
+ jsonString: string,
1955
+ ): SafeParseResult<IntegrationSupport5, SDKValidationError> {
1956
+ return safeParse(
1957
+ jsonString,
1958
+ (x) => IntegrationSupport5$inboundSchema.parse(JSON.parse(x)),
1959
+ `Failed to parse 'IntegrationSupport5' from JSON`,
1960
+ );
1961
+ }
1962
+
1963
+ /** @internal */
1964
+ export const VirtualWebhookBenefitId$inboundSchema: z.ZodType<
1965
+ VirtualWebhookBenefitId,
1966
+ z.ZodTypeDef,
1967
+ unknown
1968
+ > = z.union([
1969
+ z.record(z.any()),
1970
+ z.string(),
1971
+ z.number(),
1972
+ z.boolean(),
1973
+ z.array(
1974
+ z.union([
1975
+ z.lazy(() => IntegrationSupport1$inboundSchema),
1976
+ z.string(),
1977
+ z.number(),
1978
+ z.boolean(),
1979
+ ]),
1980
+ ),
1981
+ ]);
1982
+
1983
+ export function virtualWebhookBenefitIdFromJSON(
1984
+ jsonString: string,
1985
+ ): SafeParseResult<VirtualWebhookBenefitId, SDKValidationError> {
1986
+ return safeParse(
1987
+ jsonString,
1988
+ (x) => VirtualWebhookBenefitId$inboundSchema.parse(JSON.parse(x)),
1989
+ `Failed to parse 'VirtualWebhookBenefitId' from JSON`,
1990
+ );
1991
+ }
1992
+
1881
1993
  /** @internal */
1882
1994
  export const VirtualWebhookBillId$inboundSchema: z.ZodType<
1883
1995
  VirtualWebhookBillId,
@@ -2123,6 +2235,75 @@ export const VirtualWebhookParentId$inboundSchema: z.ZodType<
2123
2235
  unknown
2124
2236
  > = openEnums.inboundSchema(VirtualWebhookParentId);
2125
2237
 
2238
+ /** @internal */
2239
+ export const IntegrationSupportSchemas1$inboundSchema: z.ZodType<
2240
+ IntegrationSupportSchemas1,
2241
+ z.ZodTypeDef,
2242
+ unknown
2243
+ > = z.object({});
2244
+
2245
+ export function integrationSupportSchemas1FromJSON(
2246
+ jsonString: string,
2247
+ ): SafeParseResult<IntegrationSupportSchemas1, SDKValidationError> {
2248
+ return safeParse(
2249
+ jsonString,
2250
+ (x) => IntegrationSupportSchemas1$inboundSchema.parse(JSON.parse(x)),
2251
+ `Failed to parse 'IntegrationSupportSchemas1' from JSON`,
2252
+ );
2253
+ }
2254
+
2255
+ /** @internal */
2256
+ export const IntegrationSupportSchemas5$inboundSchema: z.ZodType<
2257
+ IntegrationSupportSchemas5,
2258
+ z.ZodTypeDef,
2259
+ unknown
2260
+ > = z.union([
2261
+ z.lazy(() => IntegrationSupportSchemas1$inboundSchema),
2262
+ z.string(),
2263
+ z.number(),
2264
+ z.boolean(),
2265
+ ]);
2266
+
2267
+ export function integrationSupportSchemas5FromJSON(
2268
+ jsonString: string,
2269
+ ): SafeParseResult<IntegrationSupportSchemas5, SDKValidationError> {
2270
+ return safeParse(
2271
+ jsonString,
2272
+ (x) => IntegrationSupportSchemas5$inboundSchema.parse(JSON.parse(x)),
2273
+ `Failed to parse 'IntegrationSupportSchemas5' from JSON`,
2274
+ );
2275
+ }
2276
+
2277
+ /** @internal */
2278
+ export const VirtualWebhookPaymentId$inboundSchema: z.ZodType<
2279
+ VirtualWebhookPaymentId,
2280
+ z.ZodTypeDef,
2281
+ unknown
2282
+ > = z.union([
2283
+ z.record(z.any()),
2284
+ z.string(),
2285
+ z.number(),
2286
+ z.boolean(),
2287
+ z.array(
2288
+ z.union([
2289
+ z.lazy(() => IntegrationSupportSchemas1$inboundSchema),
2290
+ z.string(),
2291
+ z.number(),
2292
+ z.boolean(),
2293
+ ]),
2294
+ ),
2295
+ ]);
2296
+
2297
+ export function virtualWebhookPaymentIdFromJSON(
2298
+ jsonString: string,
2299
+ ): SafeParseResult<VirtualWebhookPaymentId, SDKValidationError> {
2300
+ return safeParse(
2301
+ jsonString,
2302
+ (x) => VirtualWebhookPaymentId$inboundSchema.parse(JSON.parse(x)),
2303
+ `Failed to parse 'VirtualWebhookPaymentId' from JSON`,
2304
+ );
2305
+ }
2306
+
2126
2307
  /** @internal */
2127
2308
  export const VirtualWebhookPipelineId$inboundSchema: z.ZodType<
2128
2309
  VirtualWebhookPipelineId,
@@ -2335,7 +2516,20 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
2335
2516
  virtual_webhook_ad_id: VirtualWebhookAdId$inboundSchema.optional(),
2336
2517
  virtual_webhook_application_id: VirtualWebhookApplicationId$inboundSchema
2337
2518
  .optional(),
2338
- virtual_webhook_benefit_id: z.string().optional(),
2519
+ virtual_webhook_benefit_id: z.union([
2520
+ z.record(z.any()),
2521
+ z.string(),
2522
+ z.number(),
2523
+ z.boolean(),
2524
+ z.array(
2525
+ z.union([
2526
+ z.lazy(() => IntegrationSupport1$inboundSchema),
2527
+ z.string(),
2528
+ z.number(),
2529
+ z.boolean(),
2530
+ ]),
2531
+ ),
2532
+ ]).optional(),
2339
2533
  virtual_webhook_bill_id: VirtualWebhookBillId$inboundSchema.optional(),
2340
2534
  virtual_webhook_branch_id: VirtualWebhookBranchId$inboundSchema.optional(),
2341
2535
  virtual_webhook_calendar_id: VirtualWebhookCalendarId$inboundSchema
@@ -2378,6 +2572,20 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
2378
2572
  virtual_webhook_org_id: VirtualWebhookOrgId$inboundSchema.optional(),
2379
2573
  virtual_webhook_page_id: VirtualWebhookPageId$inboundSchema.optional(),
2380
2574
  virtual_webhook_parent_id: VirtualWebhookParentId$inboundSchema.optional(),
2575
+ virtual_webhook_payment_id: z.union([
2576
+ z.record(z.any()),
2577
+ z.string(),
2578
+ z.number(),
2579
+ z.boolean(),
2580
+ z.array(
2581
+ z.union([
2582
+ z.lazy(() => IntegrationSupportSchemas1$inboundSchema),
2583
+ z.string(),
2584
+ z.number(),
2585
+ z.boolean(),
2586
+ ]),
2587
+ ),
2588
+ ]).optional(),
2381
2589
  virtual_webhook_pipeline_id: VirtualWebhookPipelineId$inboundSchema
2382
2590
  .optional(),
2383
2591
  virtual_webhook_project_id: VirtualWebhookProjectId$inboundSchema.optional(),
@@ -2537,6 +2745,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
2537
2745
  "virtual_webhook_org_id": "virtualWebhookOrgId",
2538
2746
  "virtual_webhook_page_id": "virtualWebhookPageId",
2539
2747
  "virtual_webhook_parent_id": "virtualWebhookParentId",
2748
+ "virtual_webhook_payment_id": "virtualWebhookPaymentId",
2540
2749
  "virtual_webhook_pipeline_id": "virtualWebhookPipelineId",
2541
2750
  "virtual_webhook_project_id": "virtualWebhookProjectId",
2542
2751
  "virtual_webhook_repo_id": "virtualWebhookRepoId",
@@ -7,19 +7,31 @@ import { remap as remap$ } from "../../../lib/primitives.js";
7
7
  import { safeParse } from "../../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ PropertyMarketingListAddress,
12
+ PropertyMarketingListAddress$inboundSchema,
13
+ PropertyMarketingListAddress$Outbound,
14
+ PropertyMarketingListAddress$outboundSchema,
15
+ } from "./propertymarketinglistaddress.js";
10
16
 
11
17
  /**
12
18
  * Mailing List
13
19
  */
14
20
  export type MarketingList = {
21
+ address?: PropertyMarketingListAddress | undefined;
15
22
  createdAt?: Date | undefined;
16
23
  description?: string | undefined;
17
24
  endAt?: Date | undefined;
25
+ fromEmail?: string | undefined;
26
+ fromName?: string | undefined;
18
27
  id?: string | undefined;
19
28
  isActive?: boolean | undefined;
29
+ language?: string | undefined;
20
30
  name?: string | undefined;
21
31
  raw?: { [k: string]: any } | undefined;
22
32
  startAt?: Date | undefined;
33
+ state?: string | undefined;
34
+ subject?: string | undefined;
23
35
  updatedAt?: Date | undefined;
24
36
  userId?: string | undefined;
25
37
  };
@@ -30,17 +42,23 @@ export const MarketingList$inboundSchema: z.ZodType<
30
42
  z.ZodTypeDef,
31
43
  unknown
32
44
  > = z.object({
45
+ address: PropertyMarketingListAddress$inboundSchema.optional(),
33
46
  created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
34
47
  .optional(),
35
48
  description: z.string().optional(),
36
49
  end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
37
50
  .optional(),
51
+ from_email: z.string().optional(),
52
+ from_name: z.string().optional(),
38
53
  id: z.string().optional(),
39
54
  is_active: z.boolean().optional(),
55
+ language: z.string().optional(),
40
56
  name: z.string().optional(),
41
57
  raw: z.record(z.any()).optional(),
42
58
  start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
43
59
  .optional(),
60
+ state: z.string().optional(),
61
+ subject: z.string().optional(),
44
62
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
45
63
  .optional(),
46
64
  user_id: z.string().optional(),
@@ -48,6 +66,8 @@ export const MarketingList$inboundSchema: z.ZodType<
48
66
  return remap$(v, {
49
67
  "created_at": "createdAt",
50
68
  "end_at": "endAt",
69
+ "from_email": "fromEmail",
70
+ "from_name": "fromName",
51
71
  "is_active": "isActive",
52
72
  "start_at": "startAt",
53
73
  "updated_at": "updatedAt",
@@ -56,14 +76,20 @@ export const MarketingList$inboundSchema: z.ZodType<
56
76
  });
57
77
  /** @internal */
58
78
  export type MarketingList$Outbound = {
79
+ address?: PropertyMarketingListAddress$Outbound | undefined;
59
80
  created_at?: string | undefined;
60
81
  description?: string | undefined;
61
82
  end_at?: string | undefined;
83
+ from_email?: string | undefined;
84
+ from_name?: string | undefined;
62
85
  id?: string | undefined;
63
86
  is_active?: boolean | undefined;
87
+ language?: string | undefined;
64
88
  name?: string | undefined;
65
89
  raw?: { [k: string]: any } | undefined;
66
90
  start_at?: string | undefined;
91
+ state?: string | undefined;
92
+ subject?: string | undefined;
67
93
  updated_at?: string | undefined;
68
94
  user_id?: string | undefined;
69
95
  };
@@ -74,20 +100,28 @@ export const MarketingList$outboundSchema: z.ZodType<
74
100
  z.ZodTypeDef,
75
101
  MarketingList
76
102
  > = z.object({
103
+ address: PropertyMarketingListAddress$outboundSchema.optional(),
77
104
  createdAt: z.date().transform(v => v.toISOString()).optional(),
78
105
  description: z.string().optional(),
79
106
  endAt: z.date().transform(v => v.toISOString()).optional(),
107
+ fromEmail: z.string().optional(),
108
+ fromName: z.string().optional(),
80
109
  id: z.string().optional(),
81
110
  isActive: z.boolean().optional(),
111
+ language: z.string().optional(),
82
112
  name: z.string().optional(),
83
113
  raw: z.record(z.any()).optional(),
84
114
  startAt: z.date().transform(v => v.toISOString()).optional(),
115
+ state: z.string().optional(),
116
+ subject: z.string().optional(),
85
117
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
86
118
  userId: z.string().optional(),
87
119
  }).transform((v) => {
88
120
  return remap$(v, {
89
121
  createdAt: "created_at",
90
122
  endAt: "end_at",
123
+ fromEmail: "from_email",
124
+ fromName: "from_name",
91
125
  isActive: "is_active",
92
126
  startAt: "start_at",
93
127
  updatedAt: "updated_at",
@@ -0,0 +1,108 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type PropertyMarketingListAddress = {
12
+ address1?: string | undefined;
13
+ address2?: string | undefined;
14
+ city?: string | undefined;
15
+ company?: string | undefined;
16
+ country?: string | undefined;
17
+ fromEmail?: string | undefined;
18
+ fromName?: string | undefined;
19
+ language?: string | undefined;
20
+ phone?: string | undefined;
21
+ state?: string | undefined;
22
+ subject?: string | undefined;
23
+ zip?: string | undefined;
24
+ };
25
+
26
+ /** @internal */
27
+ export const PropertyMarketingListAddress$inboundSchema: z.ZodType<
28
+ PropertyMarketingListAddress,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ address1: z.string().optional(),
33
+ address2: z.string().optional(),
34
+ city: z.string().optional(),
35
+ company: z.string().optional(),
36
+ country: z.string().optional(),
37
+ from_email: z.string().optional(),
38
+ from_name: z.string().optional(),
39
+ language: z.string().optional(),
40
+ phone: z.string().optional(),
41
+ state: z.string().optional(),
42
+ subject: z.string().optional(),
43
+ zip: z.string().optional(),
44
+ }).transform((v) => {
45
+ return remap$(v, {
46
+ "from_email": "fromEmail",
47
+ "from_name": "fromName",
48
+ });
49
+ });
50
+ /** @internal */
51
+ export type PropertyMarketingListAddress$Outbound = {
52
+ address1?: string | undefined;
53
+ address2?: string | undefined;
54
+ city?: string | undefined;
55
+ company?: string | undefined;
56
+ country?: string | undefined;
57
+ from_email?: string | undefined;
58
+ from_name?: string | undefined;
59
+ language?: string | undefined;
60
+ phone?: string | undefined;
61
+ state?: string | undefined;
62
+ subject?: string | undefined;
63
+ zip?: string | undefined;
64
+ };
65
+
66
+ /** @internal */
67
+ export const PropertyMarketingListAddress$outboundSchema: z.ZodType<
68
+ PropertyMarketingListAddress$Outbound,
69
+ z.ZodTypeDef,
70
+ PropertyMarketingListAddress
71
+ > = z.object({
72
+ address1: z.string().optional(),
73
+ address2: z.string().optional(),
74
+ city: z.string().optional(),
75
+ company: z.string().optional(),
76
+ country: z.string().optional(),
77
+ fromEmail: z.string().optional(),
78
+ fromName: z.string().optional(),
79
+ language: z.string().optional(),
80
+ phone: z.string().optional(),
81
+ state: z.string().optional(),
82
+ subject: z.string().optional(),
83
+ zip: z.string().optional(),
84
+ }).transform((v) => {
85
+ return remap$(v, {
86
+ fromEmail: "from_email",
87
+ fromName: "from_name",
88
+ });
89
+ });
90
+
91
+ export function propertyMarketingListAddressToJSON(
92
+ propertyMarketingListAddress: PropertyMarketingListAddress,
93
+ ): string {
94
+ return JSON.stringify(
95
+ PropertyMarketingListAddress$outboundSchema.parse(
96
+ propertyMarketingListAddress,
97
+ ),
98
+ );
99
+ }
100
+ export function propertyMarketingListAddressFromJSON(
101
+ jsonString: string,
102
+ ): SafeParseResult<PropertyMarketingListAddress, SDKValidationError> {
103
+ return safeParse(
104
+ jsonString,
105
+ (x) => PropertyMarketingListAddress$inboundSchema.parse(JSON.parse(x)),
106
+ `Failed to parse 'PropertyMarketingListAddress' from JSON`,
107
+ );
108
+ }