globodai-fam-sdk 1.6.0 → 1.7.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/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1117,6 +1117,12 @@ interface CreatePortalSessionRequest {
|
|
|
1117
1117
|
expiresInMinutes?: number;
|
|
1118
1118
|
/** Optional checkout configuration for direct checkout flow */
|
|
1119
1119
|
checkoutConfig?: CheckoutConfig;
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter subscriptions by external user ID
|
|
1122
|
+
* When set, only subscriptions matching this externalUserId will be shown in the portal
|
|
1123
|
+
* Useful when multiple users share the same MangoPay account
|
|
1124
|
+
*/
|
|
1125
|
+
filterByExternalUserId?: string;
|
|
1120
1126
|
}
|
|
1121
1127
|
/**
|
|
1122
1128
|
* Response from creating a portal session
|
|
@@ -1160,6 +1166,8 @@ interface ValidatePortalSessionResponse {
|
|
|
1160
1166
|
user: PortalUser;
|
|
1161
1167
|
/** Website configuration for theming */
|
|
1162
1168
|
website: PortalWebsiteConfig;
|
|
1169
|
+
/** Filter to apply when listing subscriptions (if set during session creation) */
|
|
1170
|
+
filterByExternalUserId: string | null;
|
|
1163
1171
|
};
|
|
1164
1172
|
}
|
|
1165
1173
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1117,6 +1117,12 @@ interface CreatePortalSessionRequest {
|
|
|
1117
1117
|
expiresInMinutes?: number;
|
|
1118
1118
|
/** Optional checkout configuration for direct checkout flow */
|
|
1119
1119
|
checkoutConfig?: CheckoutConfig;
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter subscriptions by external user ID
|
|
1122
|
+
* When set, only subscriptions matching this externalUserId will be shown in the portal
|
|
1123
|
+
* Useful when multiple users share the same MangoPay account
|
|
1124
|
+
*/
|
|
1125
|
+
filterByExternalUserId?: string;
|
|
1120
1126
|
}
|
|
1121
1127
|
/**
|
|
1122
1128
|
* Response from creating a portal session
|
|
@@ -1160,6 +1166,8 @@ interface ValidatePortalSessionResponse {
|
|
|
1160
1166
|
user: PortalUser;
|
|
1161
1167
|
/** Website configuration for theming */
|
|
1162
1168
|
website: PortalWebsiteConfig;
|
|
1169
|
+
/** Filter to apply when listing subscriptions (if set during session creation) */
|
|
1170
|
+
filterByExternalUserId: string | null;
|
|
1163
1171
|
};
|
|
1164
1172
|
}
|
|
1165
1173
|
/**
|