@outseta/react 0.4.10 → 0.4.12
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/dist/index.js
CHANGED
|
@@ -3090,7 +3090,7 @@ var CancelationStatus = {
|
|
|
3090
3090
|
};
|
|
3091
3091
|
var TeamRole = {
|
|
3092
3092
|
Admin: 1,
|
|
3093
|
-
|
|
3093
|
+
Member: 2,
|
|
3094
3094
|
Operator: 3
|
|
3095
3095
|
};
|
|
3096
3096
|
var OAuthService = {
|
|
@@ -3366,7 +3366,7 @@ var AccountWebhookEntityPersonAccountItemPersonOAuthIntegrationStatus = {
|
|
|
3366
3366
|
};
|
|
3367
3367
|
var AccountWebhookEntityPersonAccountItemRole = {
|
|
3368
3368
|
Admin: 1,
|
|
3369
|
-
|
|
3369
|
+
Member: 2,
|
|
3370
3370
|
Operator: 3
|
|
3371
3371
|
};
|
|
3372
3372
|
var AccountWebhookEntitySubscriptionsItemBillingRenewalTerm = {
|
|
@@ -3491,7 +3491,7 @@ var AddOnChangeType = {
|
|
|
3491
3491
|
};
|
|
3492
3492
|
var PersonWebhookEntityPersonAccountItemRole = {
|
|
3493
3493
|
Admin: 1,
|
|
3494
|
-
|
|
3494
|
+
Member: 2,
|
|
3495
3495
|
Operator: 3
|
|
3496
3496
|
};
|
|
3497
3497
|
var PersonWebhookEntityAccountAccountStage = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outseta/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.12",
|
|
4
4
|
"description": "React hooks and components for the Outseta API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@outseta/api-client": "0.3.
|
|
21
|
+
"@outseta/api-client": "0.3.18"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -828,20 +828,20 @@ omitted it is derived automatically, so callers (including LLM tools) do not nee
|
|
|
828
828
|
understand it. Use Message.PreviewText for inbox preview text rather than an in-body
|
|
829
829
|
preheader.
|
|
830
830
|
|
|
831
|
-
When Body is a
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
layout
|
|
831
|
+
When Body is a content fragment with no Design, it is composed into the account's API
|
|
832
|
+
email layout — a branded header and footer that includes the unsubscribe and
|
|
833
|
+
manage-subscriptions links — and the composed result is what is sent and opened in the
|
|
834
|
+
editor. Do not add your own unsubscribe link in this case; the layout provides one. The
|
|
835
|
+
layout is editable in the app; TemplateUid selects a specific layout template when the
|
|
836
|
+
account has more than one.
|
|
836
837
|
|
|
837
|
-
The layout is NOT applied when the body
|
|
838
|
-
(
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
(e.g. CAN-SPAM) also require a visible unsubscribe link in the body.
|
|
838
|
+
The layout is NOT applied when a Design is supplied or when the body is a complex full
|
|
839
|
+
HTML document (Outlook conditional comments, stylesheet links) — in those cases the body
|
|
840
|
+
is sent exactly as supplied, and you must include a visible unsubscribe link in it
|
|
841
|
+
yourself: add {{ UnsubscribeLink }} (a ready-made anchor) or {{ UnsubscribeUrl }} (the raw
|
|
842
|
+
URL) where you want it. Its presence is not validated. A one-click List-Unsubscribe header
|
|
843
|
+
is always added, but most anti-spam laws (e.g. CAN-SPAM) also require a visible
|
|
844
|
+
unsubscribe link in the body.
|
|
845
845
|
* @summary Create a new broadcast.
|
|
846
846
|
*/
|
|
847
847
|
export const campaignAddBroadcastEmail = (
|
|
@@ -2594,7 +2594,7 @@ export type AbstractStripeBeanOfCustomerAllOf = {
|
|
|
2594
2594
|
export type AbstractStripeBeanOfCustomer = AbstractSchemaLessBean & AbstractStripeBeanOfCustomerAllOf;
|
|
2595
2595
|
|
|
2596
2596
|
/**
|
|
2597
|
-
* `1` - Admin, `2` -
|
|
2597
|
+
* `1` - Admin, `2` - Member, `3` - Operator
|
|
2598
2598
|
*/
|
|
2599
2599
|
export type TeamRole = typeof TeamRole[keyof typeof TeamRole];
|
|
2600
2600
|
|
|
@@ -2602,7 +2602,7 @@ export type TeamRole = typeof TeamRole[keyof typeof TeamRole];
|
|
|
2602
2602
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
2603
2603
|
export const TeamRole = {
|
|
2604
2604
|
Admin: 1,
|
|
2605
|
-
|
|
2605
|
+
Member: 2,
|
|
2606
2606
|
Operator: 3,
|
|
2607
2607
|
} as const;
|
|
2608
2608
|
|
|
@@ -5224,7 +5224,7 @@ export type AccountWebhookEntityPersonAccountItemPerson = {
|
|
|
5224
5224
|
} | null;
|
|
5225
5225
|
|
|
5226
5226
|
/**
|
|
5227
|
-
* `1` - Admin, `2` -
|
|
5227
|
+
* `1` - Admin, `2` - Member, `3` - Operator
|
|
5228
5228
|
* @nullable
|
|
5229
5229
|
*/
|
|
5230
5230
|
export type AccountWebhookEntityPersonAccountItemRole = typeof AccountWebhookEntityPersonAccountItemRole[keyof typeof AccountWebhookEntityPersonAccountItemRole] | null;
|
|
@@ -5233,7 +5233,7 @@ export type AccountWebhookEntityPersonAccountItemRole = typeof AccountWebhookEnt
|
|
|
5233
5233
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
5234
5234
|
export const AccountWebhookEntityPersonAccountItemRole = {
|
|
5235
5235
|
Admin: 1,
|
|
5236
|
-
|
|
5236
|
+
Member: 2,
|
|
5237
5237
|
Operator: 3,
|
|
5238
5238
|
} as const;
|
|
5239
5239
|
|
|
@@ -5254,7 +5254,7 @@ export type AccountWebhookEntityPersonAccountItem = {
|
|
|
5254
5254
|
IsPrimary?: boolean;
|
|
5255
5255
|
ReceiveInvoices?: boolean;
|
|
5256
5256
|
/**
|
|
5257
|
-
* `1` - Admin, `2` -
|
|
5257
|
+
* `1` - Admin, `2` - Member, `3` - Operator
|
|
5258
5258
|
* @nullable
|
|
5259
5259
|
*/
|
|
5260
5260
|
Role?: AccountWebhookEntityPersonAccountItemRole;
|
|
@@ -7565,7 +7565,7 @@ export type PersonWebhookEntityPersonAccountItemAccount = {
|
|
|
7565
7565
|
} | null;
|
|
7566
7566
|
|
|
7567
7567
|
/**
|
|
7568
|
-
* `1` - Admin, `2` -
|
|
7568
|
+
* `1` - Admin, `2` - Member, `3` - Operator
|
|
7569
7569
|
* @nullable
|
|
7570
7570
|
*/
|
|
7571
7571
|
export type PersonWebhookEntityPersonAccountItemRole = typeof PersonWebhookEntityPersonAccountItemRole[keyof typeof PersonWebhookEntityPersonAccountItemRole] | null;
|
|
@@ -7574,7 +7574,7 @@ export type PersonWebhookEntityPersonAccountItemRole = typeof PersonWebhookEntit
|
|
|
7574
7574
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
7575
7575
|
export const PersonWebhookEntityPersonAccountItemRole = {
|
|
7576
7576
|
Admin: 1,
|
|
7577
|
-
|
|
7577
|
+
Member: 2,
|
|
7578
7578
|
Operator: 3,
|
|
7579
7579
|
} as const;
|
|
7580
7580
|
|
|
@@ -7595,7 +7595,7 @@ export type PersonWebhookEntityPersonAccountItem = {
|
|
|
7595
7595
|
IsPrimary?: boolean;
|
|
7596
7596
|
ReceiveInvoices?: boolean;
|
|
7597
7597
|
/**
|
|
7598
|
-
* `1` - Admin, `2` -
|
|
7598
|
+
* `1` - Admin, `2` - Member, `3` - Operator
|
|
7599
7599
|
* @nullable
|
|
7600
7600
|
*/
|
|
7601
7601
|
Role?: PersonWebhookEntityPersonAccountItemRole;
|