@activepieces/piece-outseta 0.0.1 → 0.0.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/package.json +4 -4
- package/src/action/add-person-to-account.d.ts +10 -0
- package/src/action/add-person-to-account.d.ts.map +1 -0
- package/src/action/add-person-to-account.js +46 -0
- package/src/action/add-person-to-account.js.map +1 -0
- package/src/action/add-subscription-usage.d.ts +10 -0
- package/src/action/add-subscription-usage.d.ts.map +1 -0
- package/src/action/add-subscription-usage.js +49 -0
- package/src/action/add-subscription-usage.js.map +1 -0
- package/src/action/change-subscription-plan.d.ts +11 -0
- package/src/action/change-subscription-plan.d.ts.map +1 -0
- package/src/action/change-subscription-plan.js +56 -0
- package/src/action/change-subscription-plan.js.map +1 -0
- package/src/action/get-account.d.ts +1 -0
- package/src/action/get-account.d.ts.map +1 -0
- package/src/action/get-person.d.ts +1 -0
- package/src/action/get-person.d.ts.map +1 -0
- package/src/action/get-subscription.d.ts +1 -0
- package/src/action/get-subscription.d.ts.map +1 -0
- package/src/auth.d.ts +1 -0
- package/src/auth.d.ts.map +1 -0
- package/src/common/client.d.ts +4 -0
- package/src/common/client.d.ts.map +1 -0
- package/src/common/client.js +19 -3
- package/src/common/client.js.map +1 -1
- package/src/i18n/translation.json +58 -0
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +6 -0
- package/src/index.js.map +1 -1
- package/src/triggers/_manual-webhook-trigger.d.ts +1 -0
- package/src/triggers/_manual-webhook-trigger.d.ts.map +1 -0
- package/src/triggers/account-created.d.ts +1 -0
- package/src/triggers/account-created.d.ts.map +1 -0
- package/src/triggers/account-updated.d.ts +1 -0
- package/src/triggers/account-updated.d.ts.map +1 -0
- package/src/triggers/invoice-paid.d.ts +1 -0
- package/src/triggers/invoice-paid.d.ts.map +1 -0
- package/src/triggers/payment-succeeded.d.ts +1 -0
- package/src/triggers/payment-succeeded.d.ts.map +1 -0
- package/src/triggers/person-created.d.ts +1 -0
- package/src/triggers/person-created.d.ts.map +1 -0
- package/src/triggers/person-updated.d.ts +1 -0
- package/src/triggers/person-updated.d.ts.map +1 -0
- package/src/triggers/subscription-created.d.ts +1 -0
- package/src/triggers/subscription-created.d.ts.map +1 -0
- package/src/triggers/subscription-updated.d.ts +1 -0
- package/src/triggers/subscription-updated.d.ts.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-outseta",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"lint": "eslint 'src/**/*.ts'"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@activepieces/pieces-common": "0.
|
|
12
|
-
"@activepieces/pieces-framework": "0.
|
|
13
|
-
"@activepieces/shared": "0.
|
|
11
|
+
"@activepieces/pieces-common": "0.12.0",
|
|
12
|
+
"@activepieces/pieces-framework": "0.26.0",
|
|
13
|
+
"@activepieces/shared": "0.43.0",
|
|
14
14
|
"tslib": "2.6.2"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const addPersonToAccountAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
+
domain: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
+
apiKey: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
+
apiSecret: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
|
+
}>, {
|
|
6
|
+
accountUid: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
+
personUid: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
+
isPrimary: import("@activepieces/pieces-framework").CheckboxProperty<false>;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=add-person-to-account.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-person-to-account.d.ts","sourceRoot":"","sources":["../../../src/action/add-person-to-account.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;EAuCnC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addPersonToAccountAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../auth");
|
|
7
|
+
const client_1 = require("../common/client");
|
|
8
|
+
exports.addPersonToAccountAction = (0, pieces_framework_1.createAction)({
|
|
9
|
+
name: 'add_person_to_account',
|
|
10
|
+
auth: auth_1.outsetaAuth,
|
|
11
|
+
displayName: 'Add person to account',
|
|
12
|
+
description: 'Add an existing person to an existing account',
|
|
13
|
+
props: {
|
|
14
|
+
accountUid: pieces_framework_1.Property.ShortText({
|
|
15
|
+
displayName: 'Account UID',
|
|
16
|
+
required: true,
|
|
17
|
+
}),
|
|
18
|
+
personUid: pieces_framework_1.Property.ShortText({
|
|
19
|
+
displayName: 'Person UID',
|
|
20
|
+
required: true,
|
|
21
|
+
}),
|
|
22
|
+
isPrimary: pieces_framework_1.Property.Checkbox({
|
|
23
|
+
displayName: 'Is Primary Contact',
|
|
24
|
+
required: false,
|
|
25
|
+
defaultValue: false,
|
|
26
|
+
description: 'Whether this person should be the primary contact',
|
|
27
|
+
}),
|
|
28
|
+
},
|
|
29
|
+
run(context) {
|
|
30
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
var _a;
|
|
32
|
+
const client = new client_1.OutsetaClient({
|
|
33
|
+
domain: context.auth.props.domain,
|
|
34
|
+
apiKey: context.auth.props.apiKey,
|
|
35
|
+
apiSecret: context.auth.props.apiSecret,
|
|
36
|
+
});
|
|
37
|
+
const result = yield client.post(`/api/v1/crm/accounts/${context.propsValue.accountUid}/memberships`, {
|
|
38
|
+
Account: { Uid: context.propsValue.accountUid },
|
|
39
|
+
Person: { Uid: context.propsValue.personUid },
|
|
40
|
+
IsPrimary: (_a = context.propsValue.isPrimary) !== null && _a !== void 0 ? _a : false,
|
|
41
|
+
});
|
|
42
|
+
return result;
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=add-person-to-account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-person-to-account.js","sourceRoot":"","sources":["../../../src/action/add-person-to-account.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAAsC;AACtC,6CAAiD;AAEpC,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,uBAAuB;IAC7B,IAAI,EAAE,kBAAW;IACjB,WAAW,EAAE,uBAAuB;IACpC,WAAW,EAAE,+CAA+C;IAC5D,KAAK,EAAE;QACL,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC5B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC3B,WAAW,EAAE,oBAAoB;YACjC,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,KAAK;YACnB,WAAW,EAAE,mDAAmD;SACjE,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;;YACf,MAAM,MAAM,GAAG,IAAI,sBAAa,CAAC;gBAC/B,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;gBACjC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;gBACjC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS;aACxC,CAAC,CAAC;YAEH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAC9B,wBAAwB,OAAO,CAAC,UAAU,CAAC,UAAU,cAAc,EACnE;gBACE,OAAO,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE;gBAC/C,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE;gBAC7C,SAAS,EAAE,MAAA,OAAO,CAAC,UAAU,CAAC,SAAS,mCAAI,KAAK;aACjD,CACF,CAAC;YAEF,OAAO,MAAM,CAAC;QAChB,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const addSubscriptionUsageAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
+
domain: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
+
apiKey: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
+
apiSecret: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
|
+
}>, {
|
|
6
|
+
subscriptionAddOnUid: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
+
amount: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
8
|
+
usageDate: import("@activepieces/pieces-framework").DateTimeProperty<false>;
|
|
9
|
+
}>;
|
|
10
|
+
//# sourceMappingURL=add-subscription-usage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-subscription-usage.d.ts","sourceRoot":"","sources":["../../../src/action/add-subscription-usage.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;;;;;;;EA0CrC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addSubscriptionUsageAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../auth");
|
|
7
|
+
const client_1 = require("../common/client");
|
|
8
|
+
exports.addSubscriptionUsageAction = (0, pieces_framework_1.createAction)({
|
|
9
|
+
name: 'add_subscription_usage',
|
|
10
|
+
auth: auth_1.outsetaAuth,
|
|
11
|
+
displayName: 'Add subscription usage',
|
|
12
|
+
description: 'Record usage for a metered (usage-based) subscription add-on',
|
|
13
|
+
props: {
|
|
14
|
+
subscriptionAddOnUid: pieces_framework_1.Property.ShortText({
|
|
15
|
+
displayName: 'Subscription Add-On UID',
|
|
16
|
+
required: true,
|
|
17
|
+
description: 'The UID of the subscription add-on (not the add-on itself)',
|
|
18
|
+
}),
|
|
19
|
+
amount: pieces_framework_1.Property.Number({
|
|
20
|
+
displayName: 'Amount',
|
|
21
|
+
required: true,
|
|
22
|
+
description: 'The usage amount to record (can be negative to decrease)',
|
|
23
|
+
}),
|
|
24
|
+
usageDate: pieces_framework_1.Property.DateTime({
|
|
25
|
+
displayName: 'Usage Date',
|
|
26
|
+
required: false,
|
|
27
|
+
description: 'The date of usage. Defaults to now if not provided.',
|
|
28
|
+
}),
|
|
29
|
+
},
|
|
30
|
+
run(context) {
|
|
31
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
var _a;
|
|
33
|
+
const client = new client_1.OutsetaClient({
|
|
34
|
+
domain: context.auth.props.domain,
|
|
35
|
+
apiKey: context.auth.props.apiKey,
|
|
36
|
+
apiSecret: context.auth.props.apiSecret,
|
|
37
|
+
});
|
|
38
|
+
const result = yield client.post(`/api/v1/billing/usage`, {
|
|
39
|
+
UsageDate: (_a = context.propsValue.usageDate) !== null && _a !== void 0 ? _a : new Date().toISOString(),
|
|
40
|
+
Amount: context.propsValue.amount,
|
|
41
|
+
SubscriptionAddOn: {
|
|
42
|
+
Uid: context.propsValue.subscriptionAddOnUid,
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
return result;
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=add-subscription-usage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-subscription-usage.js","sourceRoot":"","sources":["../../../src/action/add-subscription-usage.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAAsC;AACtC,6CAAiD;AAEpC,QAAA,0BAA0B,GAAG,IAAA,+BAAY,EAAC;IACrD,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,kBAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,WAAW,EACT,8DAA8D;IAChE,KAAK,EAAE;QACL,oBAAoB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACvC,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,4DAA4D;SAC/D,CAAC;QACF,MAAM,EAAE,2BAAQ,CAAC,MAAM,CAAC;YACtB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,0DAA0D;SACxE,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC3B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,qDAAqD;SACnE,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;;YACf,MAAM,MAAM,GAAG,IAAI,sBAAa,CAAC;gBAC/B,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;gBACjC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;gBACjC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS;aACxC,CAAC,CAAC;YAEH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,IAAI,CAAM,uBAAuB,EAAE;gBAC7D,SAAS,EACP,MAAA,OAAO,CAAC,UAAU,CAAC,SAAS,mCAAI,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBAC1D,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM;gBACjC,iBAAiB,EAAE;oBACjB,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,oBAAoB;iBAC7C;aACF,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC;QAChB,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const changeSubscriptionPlanAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
2
|
+
domain: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
+
apiKey: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
+
apiSecret: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
|
+
}>, {
|
|
6
|
+
subscriptionUid: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
7
|
+
accountUid: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
8
|
+
planUid: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
9
|
+
billingRenewalTerm: import("@activepieces/pieces-framework").StaticDropdownProperty<number, true>;
|
|
10
|
+
}>;
|
|
11
|
+
//# sourceMappingURL=change-subscription-plan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-subscription-plan.d.ts","sourceRoot":"","sources":["../../../src/action/change-subscription-plan.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,4BAA4B;;;;;;;;;EAmDvC,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.changeSubscriptionPlanAction = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
+
const auth_1 = require("../auth");
|
|
7
|
+
const client_1 = require("../common/client");
|
|
8
|
+
exports.changeSubscriptionPlanAction = (0, pieces_framework_1.createAction)({
|
|
9
|
+
name: 'change_subscription_plan',
|
|
10
|
+
auth: auth_1.outsetaAuth,
|
|
11
|
+
displayName: 'Change subscription plan',
|
|
12
|
+
description: 'Change an existing subscription to a different plan (upgrade, downgrade, or switch to free)',
|
|
13
|
+
props: {
|
|
14
|
+
subscriptionUid: pieces_framework_1.Property.ShortText({
|
|
15
|
+
displayName: 'Subscription UID',
|
|
16
|
+
required: true,
|
|
17
|
+
}),
|
|
18
|
+
accountUid: pieces_framework_1.Property.ShortText({
|
|
19
|
+
displayName: 'Account UID',
|
|
20
|
+
required: true,
|
|
21
|
+
}),
|
|
22
|
+
planUid: pieces_framework_1.Property.ShortText({
|
|
23
|
+
displayName: 'New Plan UID',
|
|
24
|
+
required: true,
|
|
25
|
+
description: 'The UID of the plan to switch to',
|
|
26
|
+
}),
|
|
27
|
+
billingRenewalTerm: pieces_framework_1.Property.StaticDropdown({
|
|
28
|
+
displayName: 'Billing Renewal Term',
|
|
29
|
+
required: true,
|
|
30
|
+
defaultValue: 1,
|
|
31
|
+
options: {
|
|
32
|
+
disabled: false,
|
|
33
|
+
options: [
|
|
34
|
+
{ label: 'Monthly', value: 1 },
|
|
35
|
+
{ label: 'Annual', value: 2 },
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
},
|
|
40
|
+
run(context) {
|
|
41
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
const client = new client_1.OutsetaClient({
|
|
43
|
+
domain: context.auth.props.domain,
|
|
44
|
+
apiKey: context.auth.props.apiKey,
|
|
45
|
+
apiSecret: context.auth.props.apiSecret,
|
|
46
|
+
});
|
|
47
|
+
const result = yield client.put(`/api/v1/billing/subscriptions/${context.propsValue.subscriptionUid}/changeSubscription`, {
|
|
48
|
+
Account: { Uid: context.propsValue.accountUid },
|
|
49
|
+
Plan: { Uid: context.propsValue.planUid },
|
|
50
|
+
BillingRenewalTerm: context.propsValue.billingRenewalTerm,
|
|
51
|
+
});
|
|
52
|
+
return result;
|
|
53
|
+
});
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=change-subscription-plan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-subscription-plan.js","sourceRoot":"","sources":["../../../src/action/change-subscription-plan.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAAsC;AACtC,6CAAiD;AAEpC,QAAA,4BAA4B,GAAG,IAAA,+BAAY,EAAC;IACvD,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE,kBAAW;IACjB,WAAW,EAAE,0BAA0B;IACvC,WAAW,EACT,6FAA6F;IAC/F,KAAK,EAAE;QACL,eAAe,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAClC,WAAW,EAAE,kBAAkB;YAC/B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC1B,WAAW,EAAE,cAAc;YAC3B,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,kCAAkC;SAChD,CAAC;QACF,kBAAkB,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC1C,WAAW,EAAE,sBAAsB;YACnC,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,CAAC;YACf,OAAO,EAAE;gBACP,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE;oBAC9B,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE;iBAC9B;aACF;SACF,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;YACf,MAAM,MAAM,GAAG,IAAI,sBAAa,CAAC;gBAC/B,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;gBACjC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM;gBACjC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS;aACxC,CAAC,CAAC;YAEH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,GAAG,CAC7B,iCAAiC,OAAO,CAAC,UAAU,CAAC,eAAe,qBAAqB,EACxF;gBACE,OAAO,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE;gBAC/C,IAAI,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE;gBACzC,kBAAkB,EAAE,OAAO,CAAC,UAAU,CAAC,kBAAkB;aAC1D,CACF,CAAC;YAEF,OAAO,MAAM,CAAC;QAChB,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-account.d.ts","sourceRoot":"","sources":["../../../src/action/get-account.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;EA4B3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-person.d.ts","sourceRoot":"","sources":["../../../src/action/get-person.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;;;EA4B1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-subscription.d.ts","sourceRoot":"","sources":["../../../src/action/get-subscription.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;;;;EA4BhC,CAAC"}
|
package/src/auth.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export declare const outsetaAuth: import("@activepieces/pieces-framework").Custo
|
|
|
3
3
|
apiKey: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
4
|
apiSecret: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
}>;
|
|
6
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/auth.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;EA6CtB,CAAC"}
|
package/src/common/client.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ export declare class OutsetaClient {
|
|
|
7
7
|
private readonly baseUrl;
|
|
8
8
|
private readonly authHeader;
|
|
9
9
|
constructor(auth: OutsetaAuth);
|
|
10
|
+
private request;
|
|
10
11
|
get<T>(path: string): Promise<T>;
|
|
12
|
+
put<T>(path: string, body: unknown): Promise<T>;
|
|
13
|
+
post<T>(path: string, body: unknown): Promise<T>;
|
|
11
14
|
}
|
|
12
15
|
export {};
|
|
16
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/common/client.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;gBAExB,IAAI,EAAE,WAAW;YAOf,OAAO;IAwBf,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAIhC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;IAI/C,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;CAGvD"}
|
package/src/common/client.js
CHANGED
|
@@ -10,22 +10,38 @@ class OutsetaClient {
|
|
|
10
10
|
// Outseta Admin API auth format
|
|
11
11
|
this.authHeader = `Outseta ${auth.apiKey}:${auth.apiSecret}`;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
request(method, path, body) {
|
|
14
14
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
15
15
|
const response = yield pieces_common_1.httpClient.sendRequest({
|
|
16
|
-
method
|
|
16
|
+
method,
|
|
17
17
|
url: `${this.baseUrl}${path}`,
|
|
18
18
|
headers: {
|
|
19
19
|
Authorization: this.authHeader,
|
|
20
20
|
'Content-Type': 'application/json',
|
|
21
21
|
},
|
|
22
|
+
body: body,
|
|
22
23
|
});
|
|
23
|
-
if (response.status
|
|
24
|
+
if (response.status < 200 || response.status >= 300) {
|
|
24
25
|
throw new Error(`Outseta API error (${response.status}): ${JSON.stringify(response.body)}`);
|
|
25
26
|
}
|
|
26
27
|
return response.body;
|
|
27
28
|
});
|
|
28
29
|
}
|
|
30
|
+
get(path) {
|
|
31
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
return this.request(pieces_common_1.HttpMethod.GET, path);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
put(path, body) {
|
|
36
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
return this.request(pieces_common_1.HttpMethod.PUT, path, body);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
post(path, body) {
|
|
41
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
return this.request(pieces_common_1.HttpMethod.POST, path, body);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
29
45
|
}
|
|
30
46
|
exports.OutsetaClient = OutsetaClient;
|
|
31
47
|
//# sourceMappingURL=client.js.map
|
package/src/common/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/common/client.ts"],"names":[],"mappings":";;;;AAAA,+DAAqE;AAQrE,MAAa,aAAa;IAIxB,YAAY,IAAiB;QAC3B,mCAAmC;QACnC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC9C,gCAAgC;QAChC,IAAI,CAAC,UAAU,GAAG,WAAW,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/common/client.ts"],"names":[],"mappings":";;;;AAAA,+DAAqE;AAQrE,MAAa,aAAa;IAIxB,YAAY,IAAiB;QAC3B,mCAAmC;QACnC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC9C,gCAAgC;QAChC,IAAI,CAAC,UAAU,GAAG,WAAW,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;IAC/D,CAAC;IAEa,OAAO,CACnB,MAAkB,EAClB,IAAY,EACZ,IAAc;;YAEd,MAAM,QAAQ,GAAG,MAAM,0BAAU,CAAC,WAAW,CAAI;gBAC/C,MAAM;gBACN,GAAG,EAAE,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,EAAE;gBAC7B,OAAO,EAAE;oBACP,aAAa,EAAE,IAAI,CAAC,UAAU;oBAC9B,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,IAAW;aAClB,CAAC,CAAC;YAEH,IAAI,QAAQ,CAAC,MAAM,GAAG,GAAG,IAAI,QAAQ,CAAC,MAAM,IAAI,GAAG,EAAE,CAAC;gBACpD,MAAM,IAAI,KAAK,CACb,sBAAsB,QAAQ,CAAC,MAAM,MAAM,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAC3E,CAAC;YACJ,CAAC;YAED,OAAO,QAAQ,CAAC,IAAS,CAAC;QAC5B,CAAC;KAAA;IAEK,GAAG,CAAI,IAAY;;YACvB,OAAO,IAAI,CAAC,OAAO,CAAI,0BAAU,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QAC/C,CAAC;KAAA;IAEK,GAAG,CAAI,IAAY,EAAE,IAAa;;YACtC,OAAO,IAAI,CAAC,OAAO,CAAI,0BAAU,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACrD,CAAC;KAAA;IAEK,IAAI,CAAI,IAAY,EAAE,IAAa;;YACvC,OAAO,IAAI,CAAC,OAAO,CAAI,0BAAU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC;KAAA;CACF;AA9CD,sCA8CC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Triggers and actions for Outseta CRM and Billing": "Triggers and actions for Outseta CRM and Billing",
|
|
3
|
+
"Outseta domain": "Outseta domain",
|
|
4
|
+
"API Key": "API Key",
|
|
5
|
+
"API Secret": "API Secret",
|
|
6
|
+
"Example: https://yourcompany.outseta.com": "Example: https://yourcompany.outseta.com",
|
|
7
|
+
"Outseta Admin API credentials": "Outseta Admin API credentials",
|
|
8
|
+
"Get account": "Get account",
|
|
9
|
+
"Get person": "Get person",
|
|
10
|
+
"Get subscription": "Get subscription",
|
|
11
|
+
"Custom API Call": "Custom API Call",
|
|
12
|
+
"Retrieve an Outseta account by its UID": "Retrieve an Outseta account by its UID",
|
|
13
|
+
"Retrieve an Outseta person by its UID": "Retrieve an Outseta person by its UID",
|
|
14
|
+
"Retrieve an Outseta subscription by its UID": "Retrieve an Outseta subscription by its UID",
|
|
15
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
16
|
+
"Account UID": "Account UID",
|
|
17
|
+
"Person UID": "Person UID",
|
|
18
|
+
"Subscription UID": "Subscription UID",
|
|
19
|
+
"Method": "Method",
|
|
20
|
+
"Headers": "Headers",
|
|
21
|
+
"Query Parameters": "Query Parameters",
|
|
22
|
+
"Body Type": "Body Type",
|
|
23
|
+
"Body": "Body",
|
|
24
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
25
|
+
"No Error on Failure": "No Error on Failure",
|
|
26
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
27
|
+
"Follow redirects": "Follow redirects",
|
|
28
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
29
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
30
|
+
"GET": "GET",
|
|
31
|
+
"POST": "POST",
|
|
32
|
+
"PATCH": "PATCH",
|
|
33
|
+
"PUT": "PUT",
|
|
34
|
+
"DELETE": "DELETE",
|
|
35
|
+
"HEAD": "HEAD",
|
|
36
|
+
"None": "None",
|
|
37
|
+
"JSON": "JSON",
|
|
38
|
+
"Form Data": "Form Data",
|
|
39
|
+
"Raw": "Raw",
|
|
40
|
+
"Account Created": "Account Created",
|
|
41
|
+
"Account Updated": "Account Updated",
|
|
42
|
+
"Person Created": "Person Created",
|
|
43
|
+
"Person Updated": "Person Updated",
|
|
44
|
+
"Subscription Created": "Subscription Created",
|
|
45
|
+
"Subscription Updated": "Subscription Updated",
|
|
46
|
+
"Invoice Paid": "Invoice Paid",
|
|
47
|
+
"Payment Succeeded": "Payment Succeeded",
|
|
48
|
+
"Triggers when a new account is created in Outseta.": "Triggers when a new account is created in Outseta.",
|
|
49
|
+
"Triggers when an existing account is updated in Outseta.": "Triggers when an existing account is updated in Outseta.",
|
|
50
|
+
"Triggers when a new person (contact) is created in Outseta.": "Triggers when a new person (contact) is created in Outseta.",
|
|
51
|
+
"Triggers when an existing person (contact) is updated in Outseta.": "Triggers when an existing person (contact) is updated in Outseta.",
|
|
52
|
+
"Triggers when a new subscription is created in Outseta.": "Triggers when a new subscription is created in Outseta.",
|
|
53
|
+
"Triggers when an existing subscription is updated in Outseta.": "Triggers when an existing subscription is updated in Outseta.",
|
|
54
|
+
"Triggers when an invoice is paid in Outseta.": "Triggers when an invoice is paid in Outseta.",
|
|
55
|
+
"Triggers when a payment is successfully processed in Outseta.": "Triggers when a payment is successfully processed in Outseta.",
|
|
56
|
+
"Markdown": "Markdown",
|
|
57
|
+
"**Setup:** In Outseta go to Settings → Notifications → Add Notification, select the matching activity type, and paste this trigger's webhook URL {{webhookUrl}} as the callback URL.": "**Setup:** In Outseta go to Settings → Notifications → Add Notification, select the matching activity type, and paste this trigger's webhook URL {{webhookUrl}} as the callback URL."
|
|
58
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export declare const outseta: import("@activepieces/pieces-framework").Piece<imp
|
|
|
3
3
|
apiKey: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
4
|
apiSecret: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
5
5
|
}>>;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,OAAO;;;;GAoClB,CAAC"}
|
package/src/index.js
CHANGED
|
@@ -9,6 +9,9 @@ const auth_1 = require("./auth");
|
|
|
9
9
|
const get_account_1 = require("./action/get-account");
|
|
10
10
|
const get_person_1 = require("./action/get-person");
|
|
11
11
|
const get_subscription_1 = require("./action/get-subscription");
|
|
12
|
+
const change_subscription_plan_1 = require("./action/change-subscription-plan");
|
|
13
|
+
const add_subscription_usage_1 = require("./action/add-subscription-usage");
|
|
14
|
+
const add_person_to_account_1 = require("./action/add-person-to-account");
|
|
12
15
|
const account_created_1 = require("./triggers/account-created");
|
|
13
16
|
const account_updated_1 = require("./triggers/account-updated");
|
|
14
17
|
const person_created_1 = require("./triggers/person-created");
|
|
@@ -39,6 +42,9 @@ exports.outseta = (0, pieces_framework_1.createPiece)({
|
|
|
39
42
|
get_account_1.getAccountAction,
|
|
40
43
|
get_person_1.getPersonAction,
|
|
41
44
|
get_subscription_1.getSubscriptionAction,
|
|
45
|
+
change_subscription_plan_1.changeSubscriptionPlanAction,
|
|
46
|
+
add_subscription_usage_1.addSubscriptionUsageAction,
|
|
47
|
+
add_person_to_account_1.addPersonToAccountAction,
|
|
42
48
|
(0, pieces_common_1.createCustomApiCallAction)({
|
|
43
49
|
auth: auth_1.outsetaAuth,
|
|
44
50
|
baseUrl: (auth) => `${auth.props.domain}/api/v1`,
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAA6D;AAC7D,iDAAqD;AACrD,iCAAqC;AAErC,sDAAwD;AACxD,oDAAsD;AACtD,gEAAkE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAA6D;AAC7D,iDAAqD;AACrD,iCAAqC;AAErC,sDAAwD;AACxD,oDAAsD;AACtD,gEAAkE;AAClE,gFAAiF;AACjF,4EAA6E;AAC7E,0EAA0E;AAE1E,gEAAmE;AACnE,gEAAmE;AACnE,8DAAiE;AACjE,8DAAiE;AACjE,0EAA6E;AAC7E,0EAA6E;AAC7E,0DAA6D;AAC7D,oEAAuE;AAE1D,QAAA,OAAO,GAAG,IAAA,8BAAW,EAAC;IACjC,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,kDAAkD;IAC/D,IAAI,EAAE,kBAAW;IACjB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,iDAAiD;IAC1D,OAAO,EAAE,CAAC,OAAO,EAAC,aAAa,CAAC;IAChC,UAAU,EAAE,CAAC,sBAAa,CAAC,aAAa,CAAC;IACzC,QAAQ,EAAE;QACR,uCAAqB;QACrB,uCAAqB;QACrB,qCAAoB;QACpB,qCAAoB;QACpB,iDAA0B;QAC1B,iDAA0B;QAC1B,iCAAkB;QAClB,2CAAuB;KACxB;IACD,OAAO,EAAE;QACP,8BAAgB;QAChB,4BAAe;QACf,wCAAqB;QACrB,uDAA4B;QAC5B,mDAA0B;QAC1B,gDAAwB;QACxB,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,kBAAW;YACjB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,SAAS;YAChD,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;gBACzC,OAAO;oBACL,aAAa,EAAE,WAAW,MAAM,IAAI,SAAS,EAAE;iBAChD,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;CACF,CAAC,CAAC"}
|
|
@@ -31,3 +31,4 @@ export declare function createManualWebhookTrigger(args: ManualWebhookTriggerArg
|
|
|
31
31
|
instruction: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
32
32
|
}>;
|
|
33
33
|
export {};
|
|
34
|
+
//# sourceMappingURL=_manual-webhook-trigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_manual-webhook-trigger.d.ts","sourceRoot":"","sources":["../../../src/triggers/_manual-webhook-trigger.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAG1F,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;GAuBxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-created.d.ts","sourceRoot":"","sources":["../../../src/triggers/account-created.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAgChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account-updated.d.ts","sourceRoot":"","sources":["../../../src/triggers/account-updated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAgChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-paid.d.ts","sourceRoot":"","sources":["../../../src/triggers/invoice-paid.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAuB7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-succeeded.d.ts","sourceRoot":"","sources":["../../../src/triggers/payment-succeeded.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAmBlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-created.d.ts","sourceRoot":"","sources":["../../../src/triggers/person-created.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAiB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-updated.d.ts","sourceRoot":"","sources":["../../../src/triggers/person-updated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAiB/B,CAAC"}
|
|
@@ -23,3 +23,4 @@ export declare const subscriptionCreatedTrigger: import("@activepieces/pieces-fr
|
|
|
23
23
|
}>, {
|
|
24
24
|
instruction: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
25
25
|
}>;
|
|
26
|
+
//# sourceMappingURL=subscription-created.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-created.d.ts","sourceRoot":"","sources":["../../../src/triggers/subscription-created.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAsBrC,CAAC"}
|
|
@@ -23,3 +23,4 @@ export declare const subscriptionUpdatedTrigger: import("@activepieces/pieces-fr
|
|
|
23
23
|
}>, {
|
|
24
24
|
instruction: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
25
25
|
}>;
|
|
26
|
+
//# sourceMappingURL=subscription-updated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-updated.d.ts","sourceRoot":"","sources":["../../../src/triggers/subscription-updated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAsBrC,CAAC"}
|