@tagadapay/node-sdk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/dist/HttpClient.d.ts +2 -2
- package/dist/HttpClient.d.ts.map +1 -1
- package/dist/HttpClient.js +2 -2
- package/dist/Tagada.d.ts +3 -1
- package/dist/Tagada.d.ts.map +1 -1
- package/dist/Tagada.js +3 -1
- package/dist/Tagada.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/resources/EmailTemplates.d.ts +66 -0
- package/dist/resources/EmailTemplates.d.ts.map +1 -0
- package/dist/resources/EmailTemplates.js +72 -0
- package/dist/resources/EmailTemplates.js.map +1 -0
- package/dist/resources/Funnels.d.ts +6 -1
- package/dist/resources/Funnels.d.ts.map +1 -1
- package/dist/resources/Funnels.js +7 -0
- package/dist/resources/Funnels.js.map +1 -1
- package/dist/resources/PaymentFlows.d.ts +3 -3
- package/dist/resources/PaymentFlows.js +3 -3
- package/dist/resources/Plugins.d.ts +74 -16
- package/dist/resources/Plugins.d.ts.map +1 -1
- package/dist/resources/Plugins.js +305 -18
- package/dist/resources/Plugins.js.map +1 -1
- package/dist/resources/Processors.d.ts +39 -1
- package/dist/resources/Processors.d.ts.map +1 -1
- package/dist/resources/Processors.js +43 -0
- package/dist/resources/Processors.js.map +1 -1
- package/dist/resources/Webhooks.d.ts +1 -1
- package/dist/resources/Webhooks.js +1 -1
- package/dist/resources/index.d.ts +1 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +1 -0
- package/dist/resources/index.js.map +1 -1
- package/dist/types/checkout-offers.d.ts +1 -1
- package/dist/types/checkout-offers.d.ts.map +1 -1
- package/dist/types/emailTemplates.d.ts +55 -0
- package/dist/types/emailTemplates.d.ts.map +1 -0
- package/dist/types/emailTemplates.js +5 -0
- package/dist/types/emailTemplates.js.map +1 -0
- package/dist/types/events.d.ts +2 -1
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/funnels.d.ts +10 -0
- package/dist/types/funnels.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/paymentFlows.d.ts +4 -3
- package/dist/types/paymentFlows.d.ts.map +1 -1
- package/dist/types/plugins.d.ts +104 -2
- package/dist/types/plugins.d.ts.map +1 -1
- package/dist/types/processors.d.ts +37 -0
- package/dist/types/processors.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Requires Node.js 18+.
|
|
|
17
17
|
```ts
|
|
18
18
|
import Tagada from '@tagadapay/node-sdk';
|
|
19
19
|
|
|
20
|
-
const tagada = new Tagada('
|
|
20
|
+
const tagada = new Tagada('your-api-key');
|
|
21
21
|
|
|
22
22
|
// List stores
|
|
23
23
|
const stores = await tagada.stores.list();
|
|
@@ -40,20 +40,28 @@ const { payment } = await tagada.payments.process({
|
|
|
40
40
|
| `tagada.payments` | Process, refund, and void payments |
|
|
41
41
|
| `tagada.paymentFlows` | Configure PSP routing (cascade, weighted, failover) |
|
|
42
42
|
| `tagada.funnels` | Create multi-step funnels (checkout → upsell → thank you) |
|
|
43
|
-
| `tagada.plugins` | Deploy
|
|
43
|
+
| `tagada.plugins` | Deploy SPAs to edge CDN (`deployDirectory()`), A/B split testing, custom domains |
|
|
44
44
|
| `tagada.subscriptions` | Create and manage recurring billing |
|
|
45
45
|
| `tagada.customers` | Look up and manage customers |
|
|
46
46
|
| `tagada.orders` | Query orders |
|
|
47
47
|
| `tagada.webhooks` | Register webhook endpoints |
|
|
48
|
+
| `tagada.events` | Query event log, statistics, and audit trail |
|
|
49
|
+
| `tagada.emailTemplates` | Create and manage transactional email templates |
|
|
50
|
+
| `tagada.promotions` | Create and manage discounts |
|
|
51
|
+
| `tagada.promotionCodes` | Generate and manage discount codes |
|
|
52
|
+
| `tagada.offers` | Configure upsells, downsells, and order bumps |
|
|
53
|
+
| `tagada.checkoutOffers` | Manage checkout-time offers |
|
|
54
|
+
| `tagada.blockRules` | Create fraud/block rules |
|
|
55
|
+
| `tagada.paymentInstruments` | Manage vaulted payment methods |
|
|
48
56
|
| `tagada.domains` | Add custom domains |
|
|
49
57
|
| `tagada.checkout` | Server-side checkout operations |
|
|
50
|
-
| `tagada.processors` | List
|
|
58
|
+
| `tagada.processors` | List, create, and manage payment processors (incl. Stripe Connect OAuth) |
|
|
51
59
|
|
|
52
60
|
## Configuration
|
|
53
61
|
|
|
54
62
|
```ts
|
|
55
63
|
const tagada = new Tagada({
|
|
56
|
-
apiKey: '
|
|
64
|
+
apiKey: 'your-api-key',
|
|
57
65
|
baseUrl: 'https://app.tagadapay.com/api/public/v1',
|
|
58
66
|
timeout: 30_000,
|
|
59
67
|
maxRetries: 2,
|
package/dist/HttpClient.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RequestOptions, TagadaClientOptions } from './types/common.js';
|
|
2
2
|
export declare class HttpClient {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/** @internal */ readonly apiKey: string;
|
|
4
|
+
/** @internal */ readonly baseUrl: string;
|
|
5
5
|
private readonly timeout;
|
|
6
6
|
private readonly maxRetries;
|
|
7
7
|
private readonly apiVersion;
|
package/dist/HttpClient.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../src/HttpClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA0B7E,qBAAa,UAAU;IACrB,
|
|
1
|
+
{"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["../src/HttpClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA0B7E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AAW;IASnB,OAAO,CAAC,UAAU;CAMnB"}
|
package/dist/HttpClient.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TagadaAPIError, TagadaAuthenticationError, TagadaPermissionError, TagadaNotFoundError, TagadaRateLimitError, TagadaValidationError, TagadaConnectionError, TagadaTimeoutError, } from './errors/index.js';
|
|
2
2
|
import { sleep } from './utils/sleep.js';
|
|
3
|
-
const SDK_VERSION = '0.
|
|
3
|
+
const SDK_VERSION = '0.2.0';
|
|
4
4
|
const DEFAULT_BASE_URL = 'https://app.tagadapay.com/api/public/v1';
|
|
5
5
|
const DEFAULT_TIMEOUT = 30000;
|
|
6
6
|
const DEFAULT_MAX_RETRIES = 2;
|
|
@@ -9,7 +9,7 @@ export class HttpClient {
|
|
|
9
9
|
constructor(opts) {
|
|
10
10
|
if (!opts.apiKey) {
|
|
11
11
|
throw new TagadaAuthenticationError({
|
|
12
|
-
message: 'No API key provided. Set it when initializing Tagada: new Tagada("
|
|
12
|
+
message: 'No API key provided. Set it when initializing Tagada: new Tagada("your-api-key")',
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
this.apiKey = opts.apiKey;
|
package/dist/Tagada.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { BlockRules } from './resources/BlockRules.js';
|
|
|
18
18
|
import { Plugins } from './resources/Plugins.js';
|
|
19
19
|
import { Offers } from './resources/Offers.js';
|
|
20
20
|
import { CheckoutOffers } from './resources/CheckoutOffers.js';
|
|
21
|
+
import { EmailTemplates } from './resources/EmailTemplates.js';
|
|
21
22
|
/**
|
|
22
23
|
* The Tagada Node.js SDK client.
|
|
23
24
|
*
|
|
@@ -30,7 +31,7 @@ import { CheckoutOffers } from './resources/CheckoutOffers.js';
|
|
|
30
31
|
* ```ts
|
|
31
32
|
* import Tagada from '@tagadapay/node-sdk';
|
|
32
33
|
*
|
|
33
|
-
* const tagada = new Tagada('
|
|
34
|
+
* const tagada = new Tagada('your-api-key');
|
|
34
35
|
*
|
|
35
36
|
* // List payments
|
|
36
37
|
* const payments = await tagada.payments.list({
|
|
@@ -88,6 +89,7 @@ export declare class Tagada {
|
|
|
88
89
|
readonly plugins: Plugins;
|
|
89
90
|
readonly offers: Offers;
|
|
90
91
|
readonly checkoutOffers: CheckoutOffers;
|
|
92
|
+
readonly emailTemplates: EmailTemplates;
|
|
91
93
|
constructor(apiKeyOrOptions: string | TagadaClientOptions);
|
|
92
94
|
}
|
|
93
95
|
//# sourceMappingURL=Tagada.d.ts.map
|
package/dist/Tagada.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tagada.d.ts","sourceRoot":"","sources":["../src/Tagada.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,qBAAa,MAAM;IACjB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAChD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;gBAE5B,eAAe,EAAE,MAAM,GAAG,mBAAmB;CA8B1D"}
|
package/dist/Tagada.js
CHANGED
|
@@ -18,6 +18,7 @@ import { BlockRules } from './resources/BlockRules.js';
|
|
|
18
18
|
import { Plugins } from './resources/Plugins.js';
|
|
19
19
|
import { Offers } from './resources/Offers.js';
|
|
20
20
|
import { CheckoutOffers } from './resources/CheckoutOffers.js';
|
|
21
|
+
import { EmailTemplates } from './resources/EmailTemplates.js';
|
|
21
22
|
/**
|
|
22
23
|
* The Tagada Node.js SDK client.
|
|
23
24
|
*
|
|
@@ -30,7 +31,7 @@ import { CheckoutOffers } from './resources/CheckoutOffers.js';
|
|
|
30
31
|
* ```ts
|
|
31
32
|
* import Tagada from '@tagadapay/node-sdk';
|
|
32
33
|
*
|
|
33
|
-
* const tagada = new Tagada('
|
|
34
|
+
* const tagada = new Tagada('your-api-key');
|
|
34
35
|
*
|
|
35
36
|
* // List payments
|
|
36
37
|
* const payments = await tagada.payments.list({
|
|
@@ -93,6 +94,7 @@ export class Tagada {
|
|
|
93
94
|
this.plugins = new Plugins(client);
|
|
94
95
|
this.offers = new Offers(client);
|
|
95
96
|
this.checkoutOffers = new CheckoutOffers(client);
|
|
97
|
+
this.emailTemplates = new EmailTemplates(client);
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
//# sourceMappingURL=Tagada.js.map
|
package/dist/Tagada.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tagada.js","sourceRoot":"","sources":["../src/Tagada.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,kBA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,CAAC,QAAQ,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;QAC7C,IAAI,CAAC,kBAAkB,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC;QACzD,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;QACzC,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;QACjD,IAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;QACjC,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;IACnD,CAAC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { Tagada } from './Tagada.js';
|
|
|
2
2
|
export { Tagada as default } from './Tagada.js';
|
|
3
3
|
export * from './types/index.js';
|
|
4
4
|
export * from './errors/index.js';
|
|
5
|
-
export type { Payments, Customers, Orders, Stores, Subscriptions, Products, Checkout, PaymentFlows, PaymentInstruments, Webhooks, Funnels, Events, Processors, Domains, Promotions, PromotionCodes, BlockRules, Plugins, Offers, CheckoutOffers, } from './resources/index.js';
|
|
5
|
+
export type { Payments, Customers, Orders, Stores, Subscriptions, Products, Checkout, PaymentFlows, PaymentInstruments, Webhooks, Funnels, Events, Processors, Domains, Promotions, PromotionCodes, BlockRules, Plugins, Offers, CheckoutOffers, EmailTemplates, } from './resources/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC;AAEhD,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAElC,YAAY,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,MAAM,EACN,UAAU,EACV,OAAO,EACP,UAAU,EACV,cAAc,EACd,UAAU,EACV,OAAO,EACP,MAAM,EACN,cAAc,GACf,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC;AAEhD,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAElC,YAAY,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,MAAM,EACN,UAAU,EACV,OAAO,EACP,UAAU,EACV,cAAc,EACd,UAAU,EACV,OAAO,EACP,MAAM,EACN,cAAc,EACd,cAAc,GACf,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { BaseResource } from './BaseResource.js';
|
|
2
|
+
import type { RequestOptions } from '../types/common.js';
|
|
3
|
+
import type { EmailTemplate, EmailTemplateCreateParams, EmailTemplateUpdateParams, EmailTemplateListParams, EmailTemplateTestParams, EmailTemplateTypeInfo } from '../types/emailTemplates.js';
|
|
4
|
+
export declare class EmailTemplates extends BaseResource {
|
|
5
|
+
/**
|
|
6
|
+
* List all email templates for a store.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* const templates = await tagada.emailTemplates.list({ storeId: 'store_xxx' });
|
|
10
|
+
*/
|
|
11
|
+
list(params: EmailTemplateListParams, opts?: RequestOptions): Promise<EmailTemplate[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Create a new email template.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* const template = await tagada.emailTemplates.create({
|
|
17
|
+
* storeId: 'store_xxx',
|
|
18
|
+
* type: 'order_paid',
|
|
19
|
+
* name: 'Order Confirmation',
|
|
20
|
+
* subject: { en: 'Your order #{{orderNumber}} is confirmed!' },
|
|
21
|
+
* active: true,
|
|
22
|
+
* });
|
|
23
|
+
*/
|
|
24
|
+
create(params: EmailTemplateCreateParams, opts?: RequestOptions): Promise<EmailTemplate>;
|
|
25
|
+
/**
|
|
26
|
+
* Update an existing email template.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* await tagada.emailTemplates.update('et_xxx', {
|
|
30
|
+
* subject: { en: 'Updated subject line' },
|
|
31
|
+
* active: false,
|
|
32
|
+
* });
|
|
33
|
+
*/
|
|
34
|
+
update(id: string, data: EmailTemplateUpdateParams, opts?: RequestOptions): Promise<EmailTemplate>;
|
|
35
|
+
/**
|
|
36
|
+
* Delete an email template.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await tagada.emailTemplates.del('et_xxx', 'store_xxx');
|
|
40
|
+
*/
|
|
41
|
+
del(id: string, storeId: string, opts?: RequestOptions): Promise<{
|
|
42
|
+
success: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
/**
|
|
45
|
+
* Send a test email using a template.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* await tagada.emailTemplates.test({
|
|
49
|
+
* templateId: 'et_xxx',
|
|
50
|
+
* to: 'test@example.com',
|
|
51
|
+
* locale: 'en',
|
|
52
|
+
* });
|
|
53
|
+
*/
|
|
54
|
+
test(params: EmailTemplateTestParams, opts?: RequestOptions): Promise<{
|
|
55
|
+
success: boolean;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* List all available email template types with labels and descriptions.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* const types = await tagada.emailTemplates.listTypes();
|
|
62
|
+
* // [{ type: 'order_paid', label: 'Order Paid', description: '...' }, ...]
|
|
63
|
+
*/
|
|
64
|
+
listTypes(opts?: RequestOptions): Promise<EmailTemplateTypeInfo[]>;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=EmailTemplates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailTemplates.d.ts","sourceRoot":"","sources":["../../src/resources/EmailTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,aAAa,EACb,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAEpC,qBAAa,cAAe,SAAQ,YAAY;IAC9C;;;;;OAKG;IACG,IAAI,CAAC,MAAM,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAI5F;;;;;;;;;;;OAWG;IACG,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IAI9F;;;;;;;;OAQG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;IAIxG;;;;;OAKG;IACG,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IAI5F;;;;;;;;;OASG;IACG,IAAI,CAAC,MAAM,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IAIjG;;;;;;OAMG;IACG,SAAS,CAAC,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;CAGzE"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { BaseResource } from './BaseResource.js';
|
|
2
|
+
export class EmailTemplates extends BaseResource {
|
|
3
|
+
/**
|
|
4
|
+
* List all email templates for a store.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* const templates = await tagada.emailTemplates.list({ storeId: 'store_xxx' });
|
|
8
|
+
*/
|
|
9
|
+
async list(params, opts) {
|
|
10
|
+
return this._post('/email-templates/list', params, opts);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Create a new email template.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* const template = await tagada.emailTemplates.create({
|
|
17
|
+
* storeId: 'store_xxx',
|
|
18
|
+
* type: 'order_paid',
|
|
19
|
+
* name: 'Order Confirmation',
|
|
20
|
+
* subject: { en: 'Your order #{{orderNumber}} is confirmed!' },
|
|
21
|
+
* active: true,
|
|
22
|
+
* });
|
|
23
|
+
*/
|
|
24
|
+
async create(params, opts) {
|
|
25
|
+
return this._post('/email-templates', params, opts);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Update an existing email template.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await tagada.emailTemplates.update('et_xxx', {
|
|
32
|
+
* subject: { en: 'Updated subject line' },
|
|
33
|
+
* active: false,
|
|
34
|
+
* });
|
|
35
|
+
*/
|
|
36
|
+
async update(id, data, opts) {
|
|
37
|
+
return this._post('/email-templates/update', { id, data }, opts);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Delete an email template.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await tagada.emailTemplates.del('et_xxx', 'store_xxx');
|
|
44
|
+
*/
|
|
45
|
+
async del(id, storeId, opts) {
|
|
46
|
+
return this._post('/email-templates/delete', { id, storeId }, opts);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Send a test email using a template.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await tagada.emailTemplates.test({
|
|
53
|
+
* templateId: 'et_xxx',
|
|
54
|
+
* to: 'test@example.com',
|
|
55
|
+
* locale: 'en',
|
|
56
|
+
* });
|
|
57
|
+
*/
|
|
58
|
+
async test(params, opts) {
|
|
59
|
+
return this._post('/email-templates/test', params, opts);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* List all available email template types with labels and descriptions.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* const types = await tagada.emailTemplates.listTypes();
|
|
66
|
+
* // [{ type: 'order_paid', label: 'Order Paid', description: '...' }, ...]
|
|
67
|
+
*/
|
|
68
|
+
async listTypes(opts) {
|
|
69
|
+
return this._post('/email-templates/types', {}, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=EmailTemplates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailTemplates.js","sourceRoot":"","sources":["../../src/resources/EmailTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAWjD,MAAM,OAAO,cAAe,SAAQ,YAAY;IAC9C;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CAAC,MAA+B,EAAE,IAAqB;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAkB,uBAAuB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,MAAM,CAAC,MAAiC,EAAE,IAAqB;QACnE,OAAO,IAAI,CAAC,KAAK,CAAgB,kBAAkB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,IAA+B,EAAE,IAAqB;QAC7E,OAAO,IAAI,CAAC,KAAK,CAAgB,yBAAyB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CAAC,EAAU,EAAE,OAAe,EAAE,IAAqB;QAC1D,OAAO,IAAI,CAAC,KAAK,CAAuB,yBAAyB,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,IAAI,CAAC,MAA+B,EAAE,IAAqB;QAC/D,OAAO,IAAI,CAAC,KAAK,CAAuB,uBAAuB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,SAAS,CAAC,IAAqB;QACnC,OAAO,IAAI,CAAC,KAAK,CAA0B,wBAAwB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResource } from './BaseResource.js';
|
|
2
2
|
import type { RequestOptions } from '../types/common.js';
|
|
3
|
-
import type { Funnel, FunnelCreateParams, FunnelUpdateParams, FunnelPreviewSessionParams, FunnelSession } from '../types/funnels.js';
|
|
3
|
+
import type { Funnel, FunnelCreateParams, FunnelUpdateParams, FunnelPromoteParams, FunnelPromoteResult, FunnelPreviewSessionParams, FunnelSession } from '../types/funnels.js';
|
|
4
4
|
export declare class Funnels extends BaseResource {
|
|
5
5
|
/**
|
|
6
6
|
* List all funnels for a store.
|
|
@@ -27,6 +27,11 @@ export declare class Funnels extends BaseResource {
|
|
|
27
27
|
success: boolean;
|
|
28
28
|
routesRemoved: number;
|
|
29
29
|
}>;
|
|
30
|
+
/**
|
|
31
|
+
* Promote the staging configuration to production on a custom domain.
|
|
32
|
+
* The server handles instance cloning, route setup, and prebuilds.
|
|
33
|
+
*/
|
|
34
|
+
promote(funnelId: string, params: FunnelPromoteParams, opts?: RequestOptions): Promise<FunnelPromoteResult>;
|
|
30
35
|
/**
|
|
31
36
|
* Create a preview session for testing a funnel step in the builder.
|
|
32
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Funnels.d.ts","sourceRoot":"","sources":["../../src/resources/Funnels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,MAAM,EACN,kBAAkB,EAClB,kBAAkB,EAClB,0BAA0B,EAC1B,aAAa,EACd,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,OAAQ,SAAQ,YAAY;IACvC;;OAEG;IACG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funnelId, storeId, opts) {
|
|
31
31
|
return this._del(`/funnels/${funnelId}?storeId=${encodeURIComponent(storeId)}`, undefined, opts);
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Promote the staging configuration to production on a custom domain.
|
|
35
|
+
* The server handles instance cloning, route setup, and prebuilds.
|
|
36
|
+
*/
|
|
37
|
+
async promote(funnelId, params, opts) {
|
|
38
|
+
return this._post(`/funnels/${funnelId}/promote`, params, opts);
|
|
39
|
+
}
|
|
33
40
|
/**
|
|
34
41
|
* Create a preview session for testing a funnel step in the builder.
|
|
35
42
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Funnels.js","sourceRoot":"","sources":["../../src/resources/Funnels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Funnels.js","sourceRoot":"","sources":["../../src/resources/Funnels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAYjD,MAAM,OAAO,OAAQ,SAAQ,YAAY;IACvC;;OAEG;IACH,KAAK,CAAC,IAAI,CAAC,OAAe,EAAE,IAAqB;QAC/C,OAAO,IAAI,CAAC,IAAI,CAAwB,WAAW,OAAO,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,QAAQ,CAAC,QAAgB,EAAE,IAAqB;QACpD,OAAO,IAAI,CAAC,IAAI,CAAS,YAAY,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,MAA0B,EAAE,IAAqB;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAS,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,QAAgB,EAAE,MAA0B,EAAE,IAAqB;QAC9E,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,GAAG,CAAC,QAAgB,EAAE,OAAe,EAAE,IAAqB;QAChE,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,QAAQ,YAAY,kBAAkB,CAAC,OAAO,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACnG,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,OAAO,CAAC,QAAgB,EAAE,MAA2B,EAAE,IAAqB;QAChF,OAAO,IAAI,CAAC,KAAK,CAAsB,YAAY,QAAQ,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,oBAAoB,CACxB,QAAgB,EAChB,MAAkC,EAClC,IAAqB;QAErB,OAAO,IAAI,CAAC,KAAK,CAAgB,YAAY,QAAQ,kBAAkB,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,SAAiB,EAAE,IAAqB;QAC5D,OAAO,IAAI,CAAC,IAAI,CAAgB,oBAAoB,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;CACF"}
|
|
@@ -34,14 +34,14 @@ export declare class PaymentFlows extends BaseResource {
|
|
|
34
34
|
* data: {
|
|
35
35
|
* name: 'Primary Flow',
|
|
36
36
|
* strategy: 'cascade',
|
|
37
|
-
* fallbackMode:
|
|
37
|
+
* fallbackMode: true,
|
|
38
38
|
* maxFallbackRetries: 3,
|
|
39
39
|
* threeDsEnabled: true,
|
|
40
40
|
* stickyProcessorEnabled: true,
|
|
41
41
|
* pickProcessorStrategy: 'weighted',
|
|
42
42
|
* processorConfigs: [
|
|
43
|
-
* { processorId: 'proc_stripe', weight: 70 },
|
|
44
|
-
* { processorId: 'proc_adyen', weight: 30 },
|
|
43
|
+
* { processorId: 'proc_stripe', weight: 70, disabled: false, nonStickable: false },
|
|
44
|
+
* { processorId: 'proc_adyen', weight: 30, disabled: false, nonStickable: false },
|
|
45
45
|
* ],
|
|
46
46
|
* fallbackProcessorConfigs: [
|
|
47
47
|
* { processorId: 'proc_nmi', orderIndex: 0 },
|
|
@@ -37,14 +37,14 @@ export class PaymentFlows extends BaseResource {
|
|
|
37
37
|
* data: {
|
|
38
38
|
* name: 'Primary Flow',
|
|
39
39
|
* strategy: 'cascade',
|
|
40
|
-
* fallbackMode:
|
|
40
|
+
* fallbackMode: true,
|
|
41
41
|
* maxFallbackRetries: 3,
|
|
42
42
|
* threeDsEnabled: true,
|
|
43
43
|
* stickyProcessorEnabled: true,
|
|
44
44
|
* pickProcessorStrategy: 'weighted',
|
|
45
45
|
* processorConfigs: [
|
|
46
|
-
* { processorId: 'proc_stripe', weight: 70 },
|
|
47
|
-
* { processorId: 'proc_adyen', weight: 30 },
|
|
46
|
+
* { processorId: 'proc_stripe', weight: 70, disabled: false, nonStickable: false },
|
|
47
|
+
* { processorId: 'proc_adyen', weight: 30, disabled: false, nonStickable: false },
|
|
48
48
|
* ],
|
|
49
49
|
* fallbackProcessorConfigs: [
|
|
50
50
|
* { processorId: 'proc_nmi', orderIndex: 0 },
|
|
@@ -1,14 +1,42 @@
|
|
|
1
1
|
import { BaseResource } from './BaseResource.js';
|
|
2
2
|
import type { RequestOptions } from '../types/common.js';
|
|
3
|
-
import type { PluginDeployParams, PluginDeployResult, PluginInstantiateParams, PluginInstantiateResult, PluginMountParams, PluginMountResult, PluginUnmountParams } from '../types/plugins.js';
|
|
3
|
+
import type { PluginDeployParams, PluginDeployResult, PluginInstantiateParams, PluginInstantiateResult, PluginMountParams, PluginMountResult, PluginUnmountParams, PluginInstance, PluginInstanceListResult, PluginDeploymentDetails, PluginListResult, PluginMountPointListResult, PluginDetails, DeployDirectoryParams, DeployDirectoryResult, ConfigureSplitParams, ConfigureSplitResult } from '../types/plugins.js';
|
|
4
4
|
/**
|
|
5
5
|
* Plugins V2 — deploy HTML/JS/CSS pages, instantiate them for stores,
|
|
6
6
|
* and mount them to custom domains or aliases.
|
|
7
|
-
*
|
|
8
|
-
* This is the mechanism Tagada uses to serve checkout pages, landing pages,
|
|
9
|
-
* upsell pages, and any custom storefront on your own domains.
|
|
10
7
|
*/
|
|
11
8
|
export declare class Plugins extends BaseResource {
|
|
9
|
+
/**
|
|
10
|
+
* Deploy a local build directory to TagadaPay's CDN in one call.
|
|
11
|
+
*
|
|
12
|
+
* Handles everything automatically: file collection, MIME type detection,
|
|
13
|
+
* base64 encoding, instantiation, and mounting to a CDN hostname.
|
|
14
|
+
* Builds up to ~3.5 MB are uploaded inline; larger builds are automatically
|
|
15
|
+
* zipped and uploaded via Vercel Blob (up to 50 MB).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* const result = await tagada.plugins.deployDirectory({
|
|
20
|
+
* directory: './dist',
|
|
21
|
+
* storeId: 'store_xxx',
|
|
22
|
+
* name: 'my-store',
|
|
23
|
+
* });
|
|
24
|
+
* console.log(result.url); // https://my-store--store_xxx.cdn.tagadapay.com/
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
deployDirectory(params: DeployDirectoryParams, opts?: RequestOptions): Promise<DeployDirectoryResult>;
|
|
28
|
+
/**
|
|
29
|
+
* Create a ZIP archive from raw file buffers using only Node.js built-ins.
|
|
30
|
+
* Uses the STORE method (no compression) for speed — the files are already
|
|
31
|
+
* minified JS/CSS/images, so deflate savings are minimal.
|
|
32
|
+
*/
|
|
33
|
+
private _createZipBuffer;
|
|
34
|
+
/**
|
|
35
|
+
* Upload a ZIP buffer to Vercel Blob using the two-step client upload protocol.
|
|
36
|
+
* Step 1: POST to generate-upload-token to get a signed clientToken.
|
|
37
|
+
* Step 2: PUT the ZIP to the Vercel Blob API with that token.
|
|
38
|
+
*/
|
|
39
|
+
private _uploadZipToBlob;
|
|
12
40
|
/**
|
|
13
41
|
* Deploy a plugin with inline assets (HTML, JS, CSS as base64) or
|
|
14
42
|
* from a ZIP URL. Returns a deploymentId used for instantiation and mounting.
|
|
@@ -16,38 +44,68 @@ export declare class Plugins extends BaseResource {
|
|
|
16
44
|
deploy(params: PluginDeployParams, opts?: RequestOptions): Promise<PluginDeployResult>;
|
|
17
45
|
/**
|
|
18
46
|
* Create an instance of a deployed plugin for a specific store.
|
|
19
|
-
* Instances allow per-store configuration of the same deployment.
|
|
20
47
|
*/
|
|
21
48
|
instantiate(params: PluginInstantiateParams, opts?: RequestOptions): Promise<PluginInstantiateResult>;
|
|
49
|
+
/**
|
|
50
|
+
* List all instances for a store.
|
|
51
|
+
* Optionally filter by deploymentId.
|
|
52
|
+
*/
|
|
53
|
+
listInstances(storeId: string, deploymentId?: string, opts?: RequestOptions): Promise<PluginInstanceListResult>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve a single instance by ID.
|
|
56
|
+
*/
|
|
57
|
+
retrieveInstance(instanceId: string, opts?: RequestOptions): Promise<PluginInstance>;
|
|
58
|
+
/**
|
|
59
|
+
* Retrieve deployment details (version, pages, instances).
|
|
60
|
+
* Does not require storeId — deployments are global.
|
|
61
|
+
*/
|
|
62
|
+
retrieveDeployment(deploymentId: string, opts?: RequestOptions): Promise<PluginDeploymentDetails>;
|
|
22
63
|
/**
|
|
23
64
|
* Mount a plugin deployment/instance to a custom domain or alias.
|
|
24
|
-
* The domain must be verified in your account's custom domains.
|
|
25
65
|
*/
|
|
26
66
|
mount(params: PluginMountParams, opts?: RequestOptions): Promise<PluginMountResult>;
|
|
27
67
|
/**
|
|
28
68
|
* Unmount a plugin from a domain or alias.
|
|
29
69
|
*/
|
|
30
|
-
unmount(params: PluginUnmountParams, opts?: RequestOptions): Promise<
|
|
70
|
+
unmount(params: PluginUnmountParams, opts?: RequestOptions): Promise<{
|
|
71
|
+
success: boolean;
|
|
72
|
+
message: string;
|
|
73
|
+
}>;
|
|
31
74
|
/**
|
|
32
|
-
*
|
|
75
|
+
* Configure A/B split testing on an existing route.
|
|
76
|
+
*
|
|
77
|
+
* @example Weighted 50/50 split
|
|
78
|
+
* ```ts
|
|
79
|
+
* await tagada.plugins.configureSplit({
|
|
80
|
+
* routeId: 'route_xxx',
|
|
81
|
+
* storeId: 'store_xxx',
|
|
82
|
+
* splitConfig: {
|
|
83
|
+
* type: 'weighted',
|
|
84
|
+
* instances: [
|
|
85
|
+
* { instanceId: 'inst_a', deploymentId: 'dep_a', weight: 50 },
|
|
86
|
+
* { instanceId: 'inst_b', deploymentId: 'dep_b', weight: 50 },
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
33
91
|
*/
|
|
34
|
-
|
|
92
|
+
configureSplit(params: ConfigureSplitParams, opts?: RequestOptions): Promise<ConfigureSplitResult>;
|
|
35
93
|
/**
|
|
36
|
-
* List all
|
|
94
|
+
* List all plugins for a store.
|
|
37
95
|
*/
|
|
38
|
-
|
|
96
|
+
list(storeId: string, opts?: RequestOptions): Promise<PluginListResult>;
|
|
39
97
|
/**
|
|
40
98
|
* List mount points for a store.
|
|
41
99
|
*/
|
|
42
|
-
listMountPoints(storeId: string, opts?: RequestOptions): Promise<
|
|
100
|
+
listMountPoints(storeId: string, opts?: RequestOptions): Promise<PluginMountPointListResult>;
|
|
43
101
|
/**
|
|
44
|
-
* Get detailed info about a
|
|
102
|
+
* Get detailed info about a plugin.
|
|
45
103
|
*/
|
|
46
|
-
|
|
104
|
+
details(pluginId: string, storeId: string, opts?: RequestOptions): Promise<PluginDetails>;
|
|
47
105
|
/**
|
|
48
|
-
*
|
|
106
|
+
* @deprecated Use retrieveDeployment() instead — it doesn't require storeId.
|
|
49
107
|
*/
|
|
50
|
-
|
|
108
|
+
deploymentDetails(deploymentId: string, storeId: string, opts?: RequestOptions): Promise<PluginDeploymentDetails>;
|
|
51
109
|
/**
|
|
52
110
|
* Delete a plugin and all its deployments.
|
|
53
111
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugins.d.ts","sourceRoot":"","sources":["../../src/resources/Plugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Plugins.d.ts","sourceRoot":"","sources":["../../src/resources/Plugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,uBAAuB,EACvB,gBAAgB,EAChB,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EAErB,MAAM,qBAAqB,CAAC;AAwC7B;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,YAAY;IAGvC;;;;;;;;;;;;;;;;;OAiBG;IACG,eAAe,CAAC,MAAM,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAuF3G;;;;OAIG;YACW,gBAAgB;IA8E9B;;;;OAIG;YACW,gBAAgB;IAwD9B;;;OAGG;IACG,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,CAA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