@parra/parra-js-sdk 0.3.537 → 0.3.538
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/ParraAPI.d.ts +10 -1
- package/dist/ParraAPI.js +7 -2
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1069,6 +1069,10 @@ export declare enum PurchaseType {
|
|
1069
1069
|
consumable = "consumable",
|
1070
1070
|
subscription = "subscription"
|
1071
1071
|
}
|
1072
|
+
export declare enum PurchaseStatus {
|
1073
|
+
active = "active",
|
1074
|
+
expired = "expired"
|
1075
|
+
}
|
1072
1076
|
export declare enum PurchasePlatform {
|
1073
1077
|
apple = "apple",
|
1074
1078
|
parra = "parra",
|
@@ -1088,6 +1092,7 @@ export declare enum ApplePurchaseType {
|
|
1088
1092
|
autoRenewableSubscription = "Auto-Renewable Subscription"
|
1089
1093
|
}
|
1090
1094
|
export interface ApplePurchase {
|
1095
|
+
is_trial?: boolean | null;
|
1091
1096
|
receipt: string;
|
1092
1097
|
payload: object;
|
1093
1098
|
original_transaction_id: string;
|
@@ -1095,6 +1100,9 @@ export interface ApplePurchase {
|
|
1095
1100
|
purchase_date: string;
|
1096
1101
|
original_purchase_date: string;
|
1097
1102
|
expires_date?: string | null;
|
1103
|
+
auto_renew?: boolean | null;
|
1104
|
+
renewal_date?: string | null;
|
1105
|
+
renewal_price?: Price | null;
|
1098
1106
|
price: Price;
|
1099
1107
|
quantity: number;
|
1100
1108
|
bundle_id: string;
|
@@ -1124,6 +1132,7 @@ export interface UserPurchase {
|
|
1124
1132
|
user?: TenantUserStub;
|
1125
1133
|
product?: ProductStub | null;
|
1126
1134
|
type: PurchaseType;
|
1135
|
+
status: PurchaseStatus;
|
1127
1136
|
platform: PurchasePlatform;
|
1128
1137
|
environment: PurchaseEnvironment;
|
1129
1138
|
environment_description?: string | null;
|
@@ -2108,7 +2117,7 @@ export interface SocialAccountTwitchData {
|
|
2108
2117
|
profile_image_url?: string | null;
|
2109
2118
|
}
|
2110
2119
|
export interface SocialAccountLinkedinData {
|
2111
|
-
handle?: string;
|
2120
|
+
handle?: string | null;
|
2112
2121
|
profile_id: string;
|
2113
2122
|
profile_name?: string | null;
|
2114
2123
|
profile_image_url?: string | null;
|
package/dist/ParraAPI.js
CHANGED
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
|
|
11
11
|
return __assign.apply(this, arguments);
|
12
12
|
};
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
14
|
-
exports.
|
15
|
-
exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.TenantUserMetricType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ClientType = exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.BoardType = void 0;
|
14
|
+
exports.CampaignStatus = exports.CampaignActionDisplayType = exports.CampaignActionType = exports.CardItemDisplayType = exports.CardItemType = exports.QuestionKind = exports.QuestionType = exports.SubmitCommentReviewStatus = exports.CommentReviewStatus = exports.ReactionType = exports.FeedItemType = exports.SocialAccountType = exports.CreatorUpdateGiveawayCriteria = exports.CreatorUpdateChannelType = exports.CreatorUpdateStatus = exports.CreatorUpdateVisibilityType = exports.CreatorUpdateTopic = exports.LessonType = exports.AttachmentType = exports.ChannelMemberRole = exports.ChannelMemberType = exports.ChatChannelStatus = exports.ChatChannelType = exports.BillingSourceType = exports.ApplePurchaseType = exports.ApplePurchaseEnvironment = exports.PurchaseEnvironment = exports.PurchasePlatform = exports.PurchaseStatus = exports.PurchaseType = exports.PaywallIapType = exports.AppPaywallType = exports.ShareAssetType = exports.SubscriptionStatus = exports.Interval = exports.Currency = exports.FeedbackFormFieldType = exports.ContentCardActionType = exports.IdentityType = exports.PolicyDocumentType = exports.AppleSsoScope = exports.DomainStatus = exports.DomainType = exports.ApplicationType = exports.ReleaseType = exports.ReleaseStatus = exports.TicketIconType = exports.TicketPriority = exports.TicketStatus = exports.TicketType = void 0;
|
15
|
+
exports.PolicyDocumentVersionStatus = exports.PolicyDocumentStatus = exports.MailTemplateStatus = exports.MailTemplateVersionStatus = exports.MailTemplateType = exports.TenantUserMetricType = exports.IntegrationScope = exports.IntegrationConnectionStatus = exports.IntegrationType = exports.ConnectedAppConnectionStatus = exports.ConnectedAppType = exports.TenantOnboardingGoal = exports.DashboardChecklistItemStatus = exports.DashboardChecklistItemType = exports.RefreshTokenRotationType = exports.RefreshTokenExpirationType = exports.JwtAlgorithm = exports.GrantType = exports.ClientType = exports.PasswordlessStrategy = exports.SsoProvider = exports.SettingsItemType = exports.ApnsPushType = exports.ApnsEnvironment = exports.ChannelType = exports.AppVersionStatus = exports.TicketDisplayStatus = exports.UserNoteStatus = exports.TicketLinkType = exports.BoardType = exports.TemplateType = void 0;
|
16
16
|
var TicketType;
|
17
17
|
(function (TicketType) {
|
18
18
|
TicketType["bug"] = "bug";
|
@@ -150,6 +150,11 @@ var PurchaseType;
|
|
150
150
|
PurchaseType["consumable"] = "consumable";
|
151
151
|
PurchaseType["subscription"] = "subscription";
|
152
152
|
})(PurchaseType || (exports.PurchaseType = PurchaseType = {}));
|
153
|
+
var PurchaseStatus;
|
154
|
+
(function (PurchaseStatus) {
|
155
|
+
PurchaseStatus["active"] = "active";
|
156
|
+
PurchaseStatus["expired"] = "expired";
|
157
|
+
})(PurchaseStatus || (exports.PurchaseStatus = PurchaseStatus = {}));
|
153
158
|
var PurchasePlatform;
|
154
159
|
(function (PurchasePlatform) {
|
155
160
|
PurchasePlatform["apple"] = "apple";
|