codeforge-main-affinity-sdk 0.2.0 → 0.3.1
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/README.md +9 -2
- package/dist/channels/http_client.d.ts +123 -1
- package/dist/channels/http_client.d.ts.map +1 -1
- package/dist/channels/http_client.js +714 -0
- package/dist/channels/http_client.js.map +1 -1
- package/dist/client/AffinityApiV2Client.d.ts +100 -2
- package/dist/client/AffinityApiV2Client.d.ts.map +1 -1
- package/dist/client/AffinityApiV2Client.js +97 -13
- package/dist/client/AffinityApiV2Client.js.map +1 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +48 -13
- package/dist/index.js.map +1 -1
- package/dist/parameters/V2RemindersReminderIdDeleteParameters.d.ts +47 -0
- package/dist/parameters/V2RemindersReminderIdDeleteParameters.d.ts.map +1 -0
- package/dist/parameters/V2RemindersReminderIdDeleteParameters.js +105 -0
- package/dist/parameters/V2RemindersReminderIdDeleteParameters.js.map +1 -0
- package/dist/parameters/V2RemindersReminderIdGetParameters.d.ts +47 -0
- package/dist/parameters/V2RemindersReminderIdGetParameters.d.ts.map +1 -0
- package/dist/parameters/V2RemindersReminderIdGetParameters.js +105 -0
- package/dist/parameters/V2RemindersReminderIdGetParameters.js.map +1 -0
- package/dist/parameters/V2WebhooksGetParameters.d.ts +68 -0
- package/dist/parameters/V2WebhooksGetParameters.d.ts.map +1 -0
- package/dist/parameters/V2WebhooksGetParameters.js +185 -0
- package/dist/parameters/V2WebhooksGetParameters.js.map +1 -0
- package/dist/parameters/V2WebhooksWebhookIdDeleteParameters.d.ts +47 -0
- package/dist/parameters/V2WebhooksWebhookIdDeleteParameters.d.ts.map +1 -0
- package/dist/parameters/V2WebhooksWebhookIdDeleteParameters.js +105 -0
- package/dist/parameters/V2WebhooksWebhookIdDeleteParameters.js.map +1 -0
- package/dist/parameters/V2WebhooksWebhookIdGetParameters.d.ts +47 -0
- package/dist/parameters/V2WebhooksWebhookIdGetParameters.d.ts.map +1 -0
- package/dist/parameters/V2WebhooksWebhookIdGetParameters.js +105 -0
- package/dist/parameters/V2WebhooksWebhookIdGetParameters.js.map +1 -0
- package/dist/parameters/V2WebhooksWebhookIdPostParameters.d.ts +47 -0
- package/dist/parameters/V2WebhooksWebhookIdPostParameters.d.ts.map +1 -0
- package/dist/parameters/V2WebhooksWebhookIdPostParameters.js +105 -0
- package/dist/parameters/V2WebhooksWebhookIdPostParameters.js.map +1 -0
- package/dist/payloads/CompanyMergeStateStatus.d.ts +10 -0
- package/dist/payloads/CompanyMergeStateStatus.d.ts.map +1 -0
- package/dist/payloads/CompanyMergeStateStatus.js +13 -0
- package/dist/payloads/CompanyMergeStateStatus.js.map +1 -0
- package/dist/payloads/PersonMergeStateStatus.d.ts +10 -0
- package/dist/payloads/PersonMergeStateStatus.d.ts.map +1 -0
- package/dist/payloads/PersonMergeStateStatus.js +13 -0
- package/dist/payloads/PersonMergeStateStatus.js.map +1 -0
- package/dist/payloads/Status.d.ts +4 -4
- package/dist/payloads/Status.d.ts.map +1 -1
- package/dist/payloads/Status.js +4 -4
- package/dist/payloads/Status.js.map +1 -1
- package/dist/payloads/V2RemindersReminderIdDeleteResponse.d.ts +7 -0
- package/dist/payloads/V2RemindersReminderIdDeleteResponse.d.ts.map +1 -0
- package/dist/payloads/V2RemindersReminderIdDeleteResponse.js +3 -0
- package/dist/payloads/V2RemindersReminderIdDeleteResponse.js.map +1 -0
- package/dist/payloads/V2RemindersReminderIdGetResponse.d.ts +8 -0
- package/dist/payloads/V2RemindersReminderIdGetResponse.d.ts.map +1 -0
- package/dist/payloads/V2RemindersReminderIdGetResponse.js +3 -0
- package/dist/payloads/V2RemindersReminderIdGetResponse.js.map +1 -0
- package/dist/payloads/V2RemindersReminderIdGetResponsePersonReference.d.ts +11 -0
- package/dist/payloads/V2RemindersReminderIdGetResponsePersonReference.d.ts.map +1 -0
- package/dist/payloads/V2RemindersReminderIdGetResponsePersonReference.js +3 -0
- package/dist/payloads/V2RemindersReminderIdGetResponsePersonReference.js.map +1 -0
- package/dist/payloads/V2WebhooksGetResponse.d.ts +7 -0
- package/dist/payloads/V2WebhooksGetResponse.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksGetResponse.js +3 -0
- package/dist/payloads/V2WebhooksGetResponse.js.map +1 -0
- package/dist/payloads/V2WebhooksGetResponseOneOf_0DataItemStatus.d.ts +10 -0
- package/dist/payloads/V2WebhooksGetResponseOneOf_0DataItemStatus.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksGetResponseOneOf_0DataItemStatus.js +13 -0
- package/dist/payloads/V2WebhooksGetResponseOneOf_0DataItemStatus.js.map +1 -0
- package/dist/payloads/V2WebhooksPostResponse.d.ts +7 -0
- package/dist/payloads/V2WebhooksPostResponse.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksPostResponse.js +3 -0
- package/dist/payloads/V2WebhooksPostResponse.js.map +1 -0
- package/dist/payloads/V2WebhooksPostResponseOneOf_0Status.d.ts +10 -0
- package/dist/payloads/V2WebhooksPostResponseOneOf_0Status.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksPostResponseOneOf_0Status.js +13 -0
- package/dist/payloads/V2WebhooksPostResponseOneOf_0Status.js.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdDeleteResponse.d.ts +6 -0
- package/dist/payloads/V2WebhooksWebhookIdDeleteResponse.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdDeleteResponse.js +3 -0
- package/dist/payloads/V2WebhooksWebhookIdDeleteResponse.js.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponse.d.ts +7 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponse.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponse.js +3 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponse.js.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponseOneOf_0Status.d.ts +10 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponseOneOf_0Status.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponseOneOf_0Status.js +13 -0
- package/dist/payloads/V2WebhooksWebhookIdGetResponseOneOf_0Status.js.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdPostResponse.d.ts +6 -0
- package/dist/payloads/V2WebhooksWebhookIdPostResponse.d.ts.map +1 -0
- package/dist/payloads/V2WebhooksWebhookIdPostResponse.js +3 -0
- package/dist/payloads/V2WebhooksWebhookIdPostResponse.js.map +1 -0
- package/dist/payloads/WebhooksSubscriptionType.d.ts +38 -0
- package/dist/payloads/WebhooksSubscriptionType.d.ts.map +1 -0
- package/dist/payloads/WebhooksSubscriptionType.js +41 -0
- package/dist/payloads/WebhooksSubscriptionType.js.map +1 -0
- package/dist/payloads/WebhooksWebhook.d.ts +41 -0
- package/dist/payloads/WebhooksWebhook.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhook.js +3 -0
- package/dist/payloads/WebhooksWebhook.js.map +1 -0
- package/dist/payloads/WebhooksWebhookPaged.d.ts +14 -0
- package/dist/payloads/WebhooksWebhookPaged.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookPaged.js +3 -0
- package/dist/payloads/WebhooksWebhookPaged.js.map +1 -0
- package/dist/payloads/WebhooksWebhookPaged1.d.ts +14 -0
- package/dist/payloads/WebhooksWebhookPaged1.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookPaged1.js +3 -0
- package/dist/payloads/WebhooksWebhookPaged1.js.map +1 -0
- package/dist/payloads/WebhooksWebhookPagedDataItemStatus.d.ts +10 -0
- package/dist/payloads/WebhooksWebhookPagedDataItemStatus.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookPagedDataItemStatus.js +13 -0
- package/dist/payloads/WebhooksWebhookPagedDataItemStatus.js.map +1 -0
- package/dist/payloads/WebhooksWebhookPagedPaginationWithTotalCount.d.ts +16 -0
- package/dist/payloads/WebhooksWebhookPagedPaginationWithTotalCount.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookPagedPaginationWithTotalCount.js +3 -0
- package/dist/payloads/WebhooksWebhookPagedPaginationWithTotalCount.js.map +1 -0
- package/dist/payloads/WebhooksWebhookStatus.d.ts +10 -0
- package/dist/payloads/WebhooksWebhookStatus.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookStatus.js +13 -0
- package/dist/payloads/WebhooksWebhookStatus.js.map +1 -0
- package/dist/payloads/WebhooksWebhookToBeCreated.d.ts +17 -0
- package/dist/payloads/WebhooksWebhookToBeCreated.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookToBeCreated.js +3 -0
- package/dist/payloads/WebhooksWebhookToBeCreated.js.map +1 -0
- package/dist/payloads/WebhooksWebhookToBeUpdated.d.ts +23 -0
- package/dist/payloads/WebhooksWebhookToBeUpdated.d.ts.map +1 -0
- package/dist/payloads/WebhooksWebhookToBeUpdated.js +3 -0
- package/dist/payloads/WebhooksWebhookToBeUpdated.js.map +1 -0
- package/dist/types/Types.d.ts +2 -2
- package/dist/types/Types.d.ts.map +1 -1
- package/dist/types/Types.js +28 -1
- package/dist/types/Types.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2WebhooksWebhookIdPostParameters = void 0;
|
|
4
|
+
class V2WebhooksWebhookIdPostParameters {
|
|
5
|
+
constructor(input) {
|
|
6
|
+
this._webhookId = input.webhookId;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Webhook ID
|
|
10
|
+
*/
|
|
11
|
+
get webhookId() { return this._webhookId; }
|
|
12
|
+
set webhookId(webhookId) { this._webhookId = webhookId; }
|
|
13
|
+
/**
|
|
14
|
+
* Serialize path parameters according to OpenAPI 2.0/3.x specification
|
|
15
|
+
* @returns Record of parameter names to their serialized values for path substitution
|
|
16
|
+
*/
|
|
17
|
+
serializePathParameters() {
|
|
18
|
+
const result = {};
|
|
19
|
+
// Serialize path parameter: webhookId (style: simple, explode: false)
|
|
20
|
+
if (this.webhookId !== undefined && this.webhookId !== null) {
|
|
21
|
+
const value = this.webhookId;
|
|
22
|
+
if (Array.isArray(value)) {
|
|
23
|
+
result['webhookId'] = value.map(val => encodeURIComponent(String(val))).join(',');
|
|
24
|
+
}
|
|
25
|
+
else if (typeof value === 'object' && value !== null) {
|
|
26
|
+
result['webhookId'] = Object.entries(value).map(([key, val]) => `${encodeURIComponent(key)},${encodeURIComponent(String(val))}`).join(',');
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
result['webhookId'] = encodeURIComponent(String(value));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return result;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Get the complete serialized URL with path and query parameters
|
|
36
|
+
* @param basePath The base path template (e.g., '/users/{id}')
|
|
37
|
+
* @returns The complete URL with serialized parameters
|
|
38
|
+
*/
|
|
39
|
+
serializeUrl(basePath) {
|
|
40
|
+
let url = basePath;
|
|
41
|
+
// Replace path parameters
|
|
42
|
+
const pathParams = this.serializePathParameters();
|
|
43
|
+
for (const [name, value] of Object.entries(pathParams)) {
|
|
44
|
+
url = url.replace(new RegExp(`{${name}}`, 'g'), value);
|
|
45
|
+
}
|
|
46
|
+
// Add query parameters
|
|
47
|
+
return url;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get the channel path with parameters substituted
|
|
51
|
+
* @param basePath The base path template (e.g., '/pet/findByStatus/{status}/{categoryId}')
|
|
52
|
+
* @returns The path with parameters replaced
|
|
53
|
+
*/
|
|
54
|
+
getChannelWithParameters(basePath) {
|
|
55
|
+
return this.serializeUrl(basePath);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Static method to create a new instance from a URL
|
|
59
|
+
* @param url The URL to parse
|
|
60
|
+
* @param basePath The base path template (e.g., '/pet/findByStatus/{status}/{categoryId}')
|
|
61
|
+
|
|
62
|
+
* @returns A new V2WebhooksWebhookIdPostParameters instance
|
|
63
|
+
*/
|
|
64
|
+
static fromUrl(url, basePath) {
|
|
65
|
+
// Extract path parameters from URL
|
|
66
|
+
const pathParams = this.extractPathParameters(url, basePath);
|
|
67
|
+
const instance = new V2WebhooksWebhookIdPostParameters({ webhookId: pathParams.webhookId });
|
|
68
|
+
return instance;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Extract path parameters from a URL using a base path template
|
|
72
|
+
* @param url The URL to extract parameters from
|
|
73
|
+
* @param basePath The base path template (e.g., '/pet/findByStatus/{status}/{categoryId}')
|
|
74
|
+
* @returns Object containing extracted path parameter values
|
|
75
|
+
*/
|
|
76
|
+
static extractPathParameters(url, basePath) {
|
|
77
|
+
// Remove query string from URL for path matching
|
|
78
|
+
const urlPath = url.split('?')[0];
|
|
79
|
+
// Create regex pattern from base path template
|
|
80
|
+
const regexPattern = basePath.replace(/\{([^}]+)\}/g, '([^/]+)');
|
|
81
|
+
const regex = new RegExp('^' + regexPattern + '$');
|
|
82
|
+
const match = urlPath.match(regex);
|
|
83
|
+
if (!match) {
|
|
84
|
+
throw new Error(`URL path '${urlPath}' does not match base path template '${basePath}'`);
|
|
85
|
+
}
|
|
86
|
+
// Extract parameter names from base path template
|
|
87
|
+
const paramNames = basePath.match(/\{([^}]+)\}/g)?.map(p => p.slice(1, -1)) || [];
|
|
88
|
+
// Map matched values to parameter names
|
|
89
|
+
const result = {};
|
|
90
|
+
paramNames.forEach((paramName, index) => {
|
|
91
|
+
const rawValue = match[index + 1];
|
|
92
|
+
const decodeValue = decodeURIComponent(rawValue);
|
|
93
|
+
switch (paramName) {
|
|
94
|
+
case 'webhookId':
|
|
95
|
+
result.webhookId = Number(decodeValue);
|
|
96
|
+
break;
|
|
97
|
+
default:
|
|
98
|
+
result[paramName] = decodeValue;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
return result;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.V2WebhooksWebhookIdPostParameters = V2WebhooksWebhookIdPostParameters;
|
|
105
|
+
//# sourceMappingURL=V2WebhooksWebhookIdPostParameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdPostParameters.js","sourceRoot":"","sources":["../../src/parameters/V2WebhooksWebhookIdPostParameters.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyMergeStateStatus.d.ts","sourceRoot":"","sources":["../../src/payloads/CompanyMergeStateStatus.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,aAAK,uBAAuB;IAC1B,iBAAiB,gBAAgB;IACjC,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AACD,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompanyMergeStateStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Current status of the merge
|
|
6
|
+
*/
|
|
7
|
+
var CompanyMergeStateStatus;
|
|
8
|
+
(function (CompanyMergeStateStatus) {
|
|
9
|
+
CompanyMergeStateStatus["IN_MINUS_PROGRESS"] = "in-progress";
|
|
10
|
+
CompanyMergeStateStatus["SUCCESS"] = "success";
|
|
11
|
+
CompanyMergeStateStatus["FAILED"] = "failed";
|
|
12
|
+
})(CompanyMergeStateStatus || (exports.CompanyMergeStateStatus = CompanyMergeStateStatus = {}));
|
|
13
|
+
//# sourceMappingURL=CompanyMergeStateStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompanyMergeStateStatus.js","sourceRoot":"","sources":["../../src/payloads/CompanyMergeStateStatus.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,IAAK,uBAIJ;AAJD,WAAK,uBAAuB;IAC1B,4DAAiC,CAAA;IACjC,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;AACnB,CAAC,EAJI,uBAAuB,uCAAvB,uBAAuB,QAI3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersonMergeStateStatus.d.ts","sourceRoot":"","sources":["../../src/payloads/PersonMergeStateStatus.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,aAAK,sBAAsB;IACzB,iBAAiB,gBAAgB;IACjC,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AACD,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PersonMergeStateStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Current status of the merge
|
|
6
|
+
*/
|
|
7
|
+
var PersonMergeStateStatus;
|
|
8
|
+
(function (PersonMergeStateStatus) {
|
|
9
|
+
PersonMergeStateStatus["IN_MINUS_PROGRESS"] = "in-progress";
|
|
10
|
+
PersonMergeStateStatus["SUCCESS"] = "success";
|
|
11
|
+
PersonMergeStateStatus["FAILED"] = "failed";
|
|
12
|
+
})(PersonMergeStateStatus || (exports.PersonMergeStateStatus = PersonMergeStateStatus = {}));
|
|
13
|
+
//# sourceMappingURL=PersonMergeStateStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersonMergeStateStatus.js","sourceRoot":"","sources":["../../src/payloads/PersonMergeStateStatus.ts"],"names":[],"mappings":";;;AACA;;GAEG;AACH,IAAK,sBAIJ;AAJD,WAAK,sBAAsB;IACzB,2DAAiC,CAAA;IACjC,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;AACnB,CAAC,EAJI,sBAAsB,sCAAtB,sBAAsB,QAI1B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Set to `disabled` to pause event delivery, or `active` to resume it.
|
|
3
|
+
* @example active
|
|
3
4
|
*/
|
|
4
5
|
declare enum Status {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
FAILED = "failed"
|
|
6
|
+
ACTIVE = "active",
|
|
7
|
+
DISABLED = "disabled"
|
|
8
8
|
}
|
|
9
9
|
export { Status };
|
|
10
10
|
//# sourceMappingURL=Status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/payloads/Status.ts"],"names":[],"mappings":"AACA
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/payloads/Status.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,aAAK,MAAM;IACT,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AACD,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/dist/payloads/Status.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Status = void 0;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Set to `disabled` to pause event delivery, or `active` to resume it.
|
|
6
|
+
* @example active
|
|
6
7
|
*/
|
|
7
8
|
var Status;
|
|
8
9
|
(function (Status) {
|
|
9
|
-
Status["
|
|
10
|
-
Status["
|
|
11
|
-
Status["FAILED"] = "failed";
|
|
10
|
+
Status["ACTIVE"] = "active";
|
|
11
|
+
Status["DISABLED"] = "disabled";
|
|
12
12
|
})(Status || (exports.Status = Status = {}));
|
|
13
13
|
//# sourceMappingURL=Status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../src/payloads/Status.ts"],"names":[],"mappings":";;;AACA
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../src/payloads/Status.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH,IAAK,MAGJ;AAHD,WAAK,MAAM;IACT,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;AACvB,CAAC,EAHI,MAAM,sBAAN,MAAM,QAGV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Responses_400 } from './Responses_400.js';
|
|
2
|
+
import { AuthorizationErrors } from './AuthorizationErrors.js';
|
|
3
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
4
|
+
import { Errors } from './Errors.js';
|
|
5
|
+
type V2RemindersReminderIdDeleteResponse = Responses_400 | AuthorizationErrors | NotFoundErrors | Errors;
|
|
6
|
+
export { V2RemindersReminderIdDeleteResponse };
|
|
7
|
+
//# sourceMappingURL=V2RemindersReminderIdDeleteResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2RemindersReminderIdDeleteResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2RemindersReminderIdDeleteResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,mCAAmC,GAAG,aAAa,GAAG,mBAAmB,GAAG,cAAc,GAAG,MAAM,CAAC;AACzG,OAAO,EAAE,mCAAmC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2RemindersReminderIdDeleteResponse.js","sourceRoot":"","sources":["../../src/payloads/V2RemindersReminderIdDeleteResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RemindersOneTimeReminder } from './RemindersOneTimeReminder.js';
|
|
2
|
+
import { RemindersRecurringReminder } from './RemindersRecurringReminder.js';
|
|
3
|
+
import { Responses_400 } from './Responses_400.js';
|
|
4
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
5
|
+
import { Errors } from './Errors.js';
|
|
6
|
+
type V2RemindersReminderIdGetResponse = RemindersOneTimeReminder | RemindersRecurringReminder | Responses_400 | NotFoundErrors | Errors;
|
|
7
|
+
export { V2RemindersReminderIdGetResponse };
|
|
8
|
+
//# sourceMappingURL=V2RemindersReminderIdGetResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2RemindersReminderIdGetResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2RemindersReminderIdGetResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAC,0BAA0B,EAAC,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,gCAAgC,GAAG,wBAAwB,GAAG,0BAA0B,GAAG,aAAa,GAAG,cAAc,GAAG,MAAM,CAAC;AACxI,OAAO,EAAE,gCAAgC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2RemindersReminderIdGetResponse.js","sourceRoot":"","sources":["../../src/payloads/V2RemindersReminderIdGetResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The person who created the reminder.
|
|
3
|
+
*/
|
|
4
|
+
interface V2RemindersReminderIdGetResponsePersonReference {
|
|
5
|
+
/**
|
|
6
|
+
* The persons's unique identifier
|
|
7
|
+
*/
|
|
8
|
+
id: number;
|
|
9
|
+
}
|
|
10
|
+
export { V2RemindersReminderIdGetResponsePersonReference };
|
|
11
|
+
//# sourceMappingURL=V2RemindersReminderIdGetResponsePersonReference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2RemindersReminderIdGetResponsePersonReference.d.ts","sourceRoot":"","sources":["../../src/payloads/V2RemindersReminderIdGetResponsePersonReference.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,UAAU,+CAA+C;IACvD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,OAAO,EAAE,+CAA+C,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2RemindersReminderIdGetResponsePersonReference.js","sourceRoot":"","sources":["../../src/payloads/V2RemindersReminderIdGetResponsePersonReference.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WebhooksWebhookPaged } from './WebhooksWebhookPaged.js';
|
|
2
|
+
import { Responses_400 } from './Responses_400.js';
|
|
3
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
4
|
+
import { Errors } from './Errors.js';
|
|
5
|
+
type V2WebhooksGetResponse = WebhooksWebhookPaged | Responses_400 | NotFoundErrors | Errors;
|
|
6
|
+
export { V2WebhooksGetResponse };
|
|
7
|
+
//# sourceMappingURL=V2WebhooksGetResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksGetResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksGetResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,qBAAqB,GAAG,oBAAoB,GAAG,aAAa,GAAG,cAAc,GAAG,MAAM,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksGetResponse.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksGetResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the webhook currently delivers events. A `disabled` webhook keeps its configuration but does not deliver events.
|
|
3
|
+
* @example active
|
|
4
|
+
*/
|
|
5
|
+
declare enum V2WebhooksGetResponseOneOf_0DataItemStatus {
|
|
6
|
+
ACTIVE = "active",
|
|
7
|
+
DISABLED = "disabled"
|
|
8
|
+
}
|
|
9
|
+
export { V2WebhooksGetResponseOneOf_0DataItemStatus };
|
|
10
|
+
//# sourceMappingURL=V2WebhooksGetResponseOneOf_0DataItemStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksGetResponseOneOf_0DataItemStatus.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksGetResponseOneOf_0DataItemStatus.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,aAAK,0CAA0C;IAC7C,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AACD,OAAO,EAAE,0CAA0C,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2WebhooksGetResponseOneOf_0DataItemStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Whether the webhook currently delivers events. A `disabled` webhook keeps its configuration but does not deliver events.
|
|
6
|
+
* @example active
|
|
7
|
+
*/
|
|
8
|
+
var V2WebhooksGetResponseOneOf_0DataItemStatus;
|
|
9
|
+
(function (V2WebhooksGetResponseOneOf_0DataItemStatus) {
|
|
10
|
+
V2WebhooksGetResponseOneOf_0DataItemStatus["ACTIVE"] = "active";
|
|
11
|
+
V2WebhooksGetResponseOneOf_0DataItemStatus["DISABLED"] = "disabled";
|
|
12
|
+
})(V2WebhooksGetResponseOneOf_0DataItemStatus || (exports.V2WebhooksGetResponseOneOf_0DataItemStatus = V2WebhooksGetResponseOneOf_0DataItemStatus = {}));
|
|
13
|
+
//# sourceMappingURL=V2WebhooksGetResponseOneOf_0DataItemStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksGetResponseOneOf_0DataItemStatus.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksGetResponseOneOf_0DataItemStatus.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH,IAAK,0CAGJ;AAHD,WAAK,0CAA0C;IAC7C,+DAAiB,CAAA;IACjB,mEAAqB,CAAA;AACvB,CAAC,EAHI,0CAA0C,0DAA1C,0CAA0C,QAG9C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WebhooksWebhook } from './WebhooksWebhook.js';
|
|
2
|
+
import { Responses_400 } from './Responses_400.js';
|
|
3
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
4
|
+
import { Errors } from './Errors.js';
|
|
5
|
+
type V2WebhooksPostResponse = WebhooksWebhook | Responses_400 | NotFoundErrors | Errors;
|
|
6
|
+
export { V2WebhooksPostResponse };
|
|
7
|
+
//# sourceMappingURL=V2WebhooksPostResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksPostResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksPostResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,sBAAsB,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,GAAG,MAAM,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksPostResponse.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksPostResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the webhook currently delivers events. A `disabled` webhook keeps its configuration but does not deliver events.
|
|
3
|
+
* @example active
|
|
4
|
+
*/
|
|
5
|
+
declare enum V2WebhooksPostResponseOneOf_0Status {
|
|
6
|
+
ACTIVE = "active",
|
|
7
|
+
DISABLED = "disabled"
|
|
8
|
+
}
|
|
9
|
+
export { V2WebhooksPostResponseOneOf_0Status };
|
|
10
|
+
//# sourceMappingURL=V2WebhooksPostResponseOneOf_0Status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksPostResponseOneOf_0Status.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksPostResponseOneOf_0Status.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,aAAK,mCAAmC;IACtC,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AACD,OAAO,EAAE,mCAAmC,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2WebhooksPostResponseOneOf_0Status = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Whether the webhook currently delivers events. A `disabled` webhook keeps its configuration but does not deliver events.
|
|
6
|
+
* @example active
|
|
7
|
+
*/
|
|
8
|
+
var V2WebhooksPostResponseOneOf_0Status;
|
|
9
|
+
(function (V2WebhooksPostResponseOneOf_0Status) {
|
|
10
|
+
V2WebhooksPostResponseOneOf_0Status["ACTIVE"] = "active";
|
|
11
|
+
V2WebhooksPostResponseOneOf_0Status["DISABLED"] = "disabled";
|
|
12
|
+
})(V2WebhooksPostResponseOneOf_0Status || (exports.V2WebhooksPostResponseOneOf_0Status = V2WebhooksPostResponseOneOf_0Status = {}));
|
|
13
|
+
//# sourceMappingURL=V2WebhooksPostResponseOneOf_0Status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksPostResponseOneOf_0Status.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksPostResponseOneOf_0Status.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH,IAAK,mCAGJ;AAHD,WAAK,mCAAmC;IACtC,wDAAiB,CAAA;IACjB,4DAAqB,CAAA;AACvB,CAAC,EAHI,mCAAmC,mDAAnC,mCAAmC,QAGvC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Responses_400 } from './Responses_400.js';
|
|
2
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
3
|
+
import { Errors } from './Errors.js';
|
|
4
|
+
type V2WebhooksWebhookIdDeleteResponse = Responses_400 | NotFoundErrors | Errors;
|
|
5
|
+
export { V2WebhooksWebhookIdDeleteResponse };
|
|
6
|
+
//# sourceMappingURL=V2WebhooksWebhookIdDeleteResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdDeleteResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdDeleteResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,iCAAiC,GAAG,aAAa,GAAG,cAAc,GAAG,MAAM,CAAC;AACjF,OAAO,EAAE,iCAAiC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdDeleteResponse.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdDeleteResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WebhooksWebhook } from './WebhooksWebhook.js';
|
|
2
|
+
import { Responses_400 } from './Responses_400.js';
|
|
3
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
4
|
+
import { Errors } from './Errors.js';
|
|
5
|
+
type V2WebhooksWebhookIdGetResponse = WebhooksWebhook | Responses_400 | NotFoundErrors | Errors;
|
|
6
|
+
export { V2WebhooksWebhookIdGetResponse };
|
|
7
|
+
//# sourceMappingURL=V2WebhooksWebhookIdGetResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdGetResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdGetResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,8BAA8B,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,GAAG,MAAM,CAAC;AAChG,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdGetResponse.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdGetResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the webhook currently delivers events. A `disabled` webhook keeps its configuration but does not deliver events.
|
|
3
|
+
* @example active
|
|
4
|
+
*/
|
|
5
|
+
declare enum V2WebhooksWebhookIdGetResponseOneOf_0Status {
|
|
6
|
+
ACTIVE = "active",
|
|
7
|
+
DISABLED = "disabled"
|
|
8
|
+
}
|
|
9
|
+
export { V2WebhooksWebhookIdGetResponseOneOf_0Status };
|
|
10
|
+
//# sourceMappingURL=V2WebhooksWebhookIdGetResponseOneOf_0Status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdGetResponseOneOf_0Status.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdGetResponseOneOf_0Status.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,aAAK,2CAA2C;IAC9C,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AACD,OAAO,EAAE,2CAA2C,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2WebhooksWebhookIdGetResponseOneOf_0Status = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Whether the webhook currently delivers events. A `disabled` webhook keeps its configuration but does not deliver events.
|
|
6
|
+
* @example active
|
|
7
|
+
*/
|
|
8
|
+
var V2WebhooksWebhookIdGetResponseOneOf_0Status;
|
|
9
|
+
(function (V2WebhooksWebhookIdGetResponseOneOf_0Status) {
|
|
10
|
+
V2WebhooksWebhookIdGetResponseOneOf_0Status["ACTIVE"] = "active";
|
|
11
|
+
V2WebhooksWebhookIdGetResponseOneOf_0Status["DISABLED"] = "disabled";
|
|
12
|
+
})(V2WebhooksWebhookIdGetResponseOneOf_0Status || (exports.V2WebhooksWebhookIdGetResponseOneOf_0Status = V2WebhooksWebhookIdGetResponseOneOf_0Status = {}));
|
|
13
|
+
//# sourceMappingURL=V2WebhooksWebhookIdGetResponseOneOf_0Status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdGetResponseOneOf_0Status.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdGetResponseOneOf_0Status.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH,IAAK,2CAGJ;AAHD,WAAK,2CAA2C;IAC9C,gEAAiB,CAAA;IACjB,oEAAqB,CAAA;AACvB,CAAC,EAHI,2CAA2C,2DAA3C,2CAA2C,QAG/C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Responses_400 } from './Responses_400.js';
|
|
2
|
+
import { NotFoundErrors } from './NotFoundErrors.js';
|
|
3
|
+
import { Errors } from './Errors.js';
|
|
4
|
+
type V2WebhooksWebhookIdPostResponse = Responses_400 | NotFoundErrors | Errors;
|
|
5
|
+
export { V2WebhooksWebhookIdPostResponse };
|
|
6
|
+
//# sourceMappingURL=V2WebhooksWebhookIdPostResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdPostResponse.d.ts","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdPostResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,KAAK,+BAA+B,GAAG,aAAa,GAAG,cAAc,GAAG,MAAM,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2WebhooksWebhookIdPostResponse.js","sourceRoot":"","sources":["../../src/payloads/V2WebhooksWebhookIdPostResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An event type a webhook can subscribe to. Values match the `type` field of delivered webhook payloads and are shared with the v1 webhook API.
|
|
3
|
+
* @example list.created
|
|
4
|
+
*/
|
|
5
|
+
declare enum WebhooksSubscriptionType {
|
|
6
|
+
LIST_DOT_CREATED = "list.created",
|
|
7
|
+
LIST_DOT_UPDATED = "list.updated",
|
|
8
|
+
LIST_DOT_DELETED = "list.deleted",
|
|
9
|
+
LIST_ENTRY_DOT_CREATED = "list_entry.created",
|
|
10
|
+
LIST_ENTRY_DOT_DELETED = "list_entry.deleted",
|
|
11
|
+
NOTE_DOT_CREATED = "note.created",
|
|
12
|
+
NOTE_DOT_UPDATED = "note.updated",
|
|
13
|
+
NOTE_DOT_DELETED = "note.deleted",
|
|
14
|
+
FIELD_DOT_CREATED = "field.created",
|
|
15
|
+
FIELD_DOT_UPDATED = "field.updated",
|
|
16
|
+
FIELD_DOT_DELETED = "field.deleted",
|
|
17
|
+
FIELD_VALUE_DOT_CREATED = "field_value.created",
|
|
18
|
+
FIELD_VALUE_DOT_UPDATED = "field_value.updated",
|
|
19
|
+
FIELD_VALUE_DOT_DELETED = "field_value.deleted",
|
|
20
|
+
PERSON_DOT_CREATED = "person.created",
|
|
21
|
+
PERSON_DOT_UPDATED = "person.updated",
|
|
22
|
+
PERSON_DOT_DELETED = "person.deleted",
|
|
23
|
+
ORGANIZATION_DOT_CREATED = "organization.created",
|
|
24
|
+
ORGANIZATION_DOT_UPDATED = "organization.updated",
|
|
25
|
+
ORGANIZATION_DOT_DELETED = "organization.deleted",
|
|
26
|
+
ORGANIZATION_DOT_MERGED = "organization.merged",
|
|
27
|
+
OPPORTUNITY_DOT_CREATED = "opportunity.created",
|
|
28
|
+
OPPORTUNITY_DOT_UPDATED = "opportunity.updated",
|
|
29
|
+
OPPORTUNITY_DOT_DELETED = "opportunity.deleted",
|
|
30
|
+
FILE_DOT_CREATED = "file.created",
|
|
31
|
+
FILE_DOT_DELETED = "file.deleted",
|
|
32
|
+
SMART_INTERACTION_VALUE_DOT_UPDATED = "smart_interaction_value.updated",
|
|
33
|
+
REMINDER_DOT_CREATED = "reminder.created",
|
|
34
|
+
REMINDER_DOT_UPDATED = "reminder.updated",
|
|
35
|
+
REMINDER_DOT_DELETED = "reminder.deleted"
|
|
36
|
+
}
|
|
37
|
+
export { WebhooksSubscriptionType };
|
|
38
|
+
//# sourceMappingURL=WebhooksSubscriptionType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebhooksSubscriptionType.d.ts","sourceRoot":"","sources":["../../src/payloads/WebhooksSubscriptionType.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,aAAK,wBAAwB;IAC3B,gBAAgB,iBAAiB;IACjC,gBAAgB,iBAAiB;IACjC,gBAAgB,iBAAiB;IACjC,sBAAsB,uBAAuB;IAC7C,sBAAsB,uBAAuB;IAC7C,gBAAgB,iBAAiB;IACjC,gBAAgB,iBAAiB;IACjC,gBAAgB,iBAAiB;IACjC,iBAAiB,kBAAkB;IACnC,iBAAiB,kBAAkB;IACnC,iBAAiB,kBAAkB;IACnC,uBAAuB,wBAAwB;IAC/C,uBAAuB,wBAAwB;IAC/C,uBAAuB,wBAAwB;IAC/C,kBAAkB,mBAAmB;IACrC,kBAAkB,mBAAmB;IACrC,kBAAkB,mBAAmB;IACrC,wBAAwB,yBAAyB;IACjD,wBAAwB,yBAAyB;IACjD,wBAAwB,yBAAyB;IACjD,uBAAuB,wBAAwB;IAC/C,uBAAuB,wBAAwB;IAC/C,uBAAuB,wBAAwB;IAC/C,uBAAuB,wBAAwB;IAC/C,gBAAgB,iBAAiB;IACjC,gBAAgB,iBAAiB;IACjC,mCAAmC,oCAAoC;IACvE,oBAAoB,qBAAqB;IACzC,oBAAoB,qBAAqB;IACzC,oBAAoB,qBAAqB;CAC1C;AACD,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhooksSubscriptionType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* An event type a webhook can subscribe to. Values match the `type` field of delivered webhook payloads and are shared with the v1 webhook API.
|
|
6
|
+
* @example list.created
|
|
7
|
+
*/
|
|
8
|
+
var WebhooksSubscriptionType;
|
|
9
|
+
(function (WebhooksSubscriptionType) {
|
|
10
|
+
WebhooksSubscriptionType["LIST_DOT_CREATED"] = "list.created";
|
|
11
|
+
WebhooksSubscriptionType["LIST_DOT_UPDATED"] = "list.updated";
|
|
12
|
+
WebhooksSubscriptionType["LIST_DOT_DELETED"] = "list.deleted";
|
|
13
|
+
WebhooksSubscriptionType["LIST_ENTRY_DOT_CREATED"] = "list_entry.created";
|
|
14
|
+
WebhooksSubscriptionType["LIST_ENTRY_DOT_DELETED"] = "list_entry.deleted";
|
|
15
|
+
WebhooksSubscriptionType["NOTE_DOT_CREATED"] = "note.created";
|
|
16
|
+
WebhooksSubscriptionType["NOTE_DOT_UPDATED"] = "note.updated";
|
|
17
|
+
WebhooksSubscriptionType["NOTE_DOT_DELETED"] = "note.deleted";
|
|
18
|
+
WebhooksSubscriptionType["FIELD_DOT_CREATED"] = "field.created";
|
|
19
|
+
WebhooksSubscriptionType["FIELD_DOT_UPDATED"] = "field.updated";
|
|
20
|
+
WebhooksSubscriptionType["FIELD_DOT_DELETED"] = "field.deleted";
|
|
21
|
+
WebhooksSubscriptionType["FIELD_VALUE_DOT_CREATED"] = "field_value.created";
|
|
22
|
+
WebhooksSubscriptionType["FIELD_VALUE_DOT_UPDATED"] = "field_value.updated";
|
|
23
|
+
WebhooksSubscriptionType["FIELD_VALUE_DOT_DELETED"] = "field_value.deleted";
|
|
24
|
+
WebhooksSubscriptionType["PERSON_DOT_CREATED"] = "person.created";
|
|
25
|
+
WebhooksSubscriptionType["PERSON_DOT_UPDATED"] = "person.updated";
|
|
26
|
+
WebhooksSubscriptionType["PERSON_DOT_DELETED"] = "person.deleted";
|
|
27
|
+
WebhooksSubscriptionType["ORGANIZATION_DOT_CREATED"] = "organization.created";
|
|
28
|
+
WebhooksSubscriptionType["ORGANIZATION_DOT_UPDATED"] = "organization.updated";
|
|
29
|
+
WebhooksSubscriptionType["ORGANIZATION_DOT_DELETED"] = "organization.deleted";
|
|
30
|
+
WebhooksSubscriptionType["ORGANIZATION_DOT_MERGED"] = "organization.merged";
|
|
31
|
+
WebhooksSubscriptionType["OPPORTUNITY_DOT_CREATED"] = "opportunity.created";
|
|
32
|
+
WebhooksSubscriptionType["OPPORTUNITY_DOT_UPDATED"] = "opportunity.updated";
|
|
33
|
+
WebhooksSubscriptionType["OPPORTUNITY_DOT_DELETED"] = "opportunity.deleted";
|
|
34
|
+
WebhooksSubscriptionType["FILE_DOT_CREATED"] = "file.created";
|
|
35
|
+
WebhooksSubscriptionType["FILE_DOT_DELETED"] = "file.deleted";
|
|
36
|
+
WebhooksSubscriptionType["SMART_INTERACTION_VALUE_DOT_UPDATED"] = "smart_interaction_value.updated";
|
|
37
|
+
WebhooksSubscriptionType["REMINDER_DOT_CREATED"] = "reminder.created";
|
|
38
|
+
WebhooksSubscriptionType["REMINDER_DOT_UPDATED"] = "reminder.updated";
|
|
39
|
+
WebhooksSubscriptionType["REMINDER_DOT_DELETED"] = "reminder.deleted";
|
|
40
|
+
})(WebhooksSubscriptionType || (exports.WebhooksSubscriptionType = WebhooksSubscriptionType = {}));
|
|
41
|
+
//# sourceMappingURL=WebhooksSubscriptionType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebhooksSubscriptionType.js","sourceRoot":"","sources":["../../src/payloads/WebhooksSubscriptionType.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH,IAAK,wBA+BJ;AA/BD,WAAK,wBAAwB;IAC3B,6DAAiC,CAAA;IACjC,6DAAiC,CAAA;IACjC,6DAAiC,CAAA;IACjC,yEAA6C,CAAA;IAC7C,yEAA6C,CAAA;IAC7C,6DAAiC,CAAA;IACjC,6DAAiC,CAAA;IACjC,6DAAiC,CAAA;IACjC,+DAAmC,CAAA;IACnC,+DAAmC,CAAA;IACnC,+DAAmC,CAAA;IACnC,2EAA+C,CAAA;IAC/C,2EAA+C,CAAA;IAC/C,2EAA+C,CAAA;IAC/C,iEAAqC,CAAA;IACrC,iEAAqC,CAAA;IACrC,iEAAqC,CAAA;IACrC,6EAAiD,CAAA;IACjD,6EAAiD,CAAA;IACjD,6EAAiD,CAAA;IACjD,2EAA+C,CAAA;IAC/C,2EAA+C,CAAA;IAC/C,2EAA+C,CAAA;IAC/C,2EAA+C,CAAA;IAC/C,6DAAiC,CAAA;IACjC,6DAAiC,CAAA;IACjC,mGAAuE,CAAA;IACvE,qEAAyC,CAAA;IACzC,qEAAyC,CAAA;IACzC,qEAAyC,CAAA;AAC3C,CAAC,EA/BI,wBAAwB,wCAAxB,wBAAwB,QA+B5B"}
|