@stack-spot/portal-network 0.133.3 → 0.134.1
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/CHANGELOG.md +14 -0
- package/dist/api/account.d.ts +44 -26
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +310 -262
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +18 -28
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/client/cloud-platform-horizon.d.ts +26 -32
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +1 -10
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-services.d.ts +1 -1
- package/dist/client/notification.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +45 -26
- package/src/api/cloudPlatformHorizon.ts +319 -307
- package/src/client/cloud-platform-horizon.ts +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.134.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.134.0...portal-network@v0.134.1) (2025-06-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update cloud horizon types ([#1039](https://github.com/stack-spot/portal-commons/issues/1039)) ([c27964f](https://github.com/stack-spot/portal-commons/commit/c27964f5c1b6ed84f83aa954ac92bbc42deec505))
|
|
9
|
+
|
|
10
|
+
## [0.134.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.133.3...portal-network@v0.134.0) (2025-06-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* 2685 mao ([#1036](https://github.com/stack-spot/portal-commons/issues/1036)) ([ccac734](https://github.com/stack-spot/portal-commons/commit/ccac734885cd86ba55c5021bec1b6a4376de454b))
|
|
16
|
+
|
|
3
17
|
## [0.133.3](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.133.2...portal-network@v0.133.3) (2025-05-30)
|
|
4
18
|
|
|
5
19
|
|
package/dist/api/account.d.ts
CHANGED
|
@@ -1143,12 +1143,14 @@ export type PersonalLeadRequest = {
|
|
|
1143
1143
|
name: string;
|
|
1144
1144
|
/** Lead email */
|
|
1145
1145
|
email: string;
|
|
1146
|
+
/** Account owner's area of work */
|
|
1147
|
+
workArea: "DATA" | "PRODUCT_DESIGN" | "SOFTWARE_DEVELOPMENT" | "QA" | "INFRA_CLOUD" | "BUSINESS_OPERATIONS" | "MARKETING_SALES" | "OTHER";
|
|
1146
1148
|
/** Lead phone number */
|
|
1147
|
-
phone
|
|
1149
|
+
phone?: string;
|
|
1148
1150
|
/** Preferred contact method */
|
|
1149
|
-
contactPreference
|
|
1151
|
+
contactPreference?: "EMAIL" | "PHONE";
|
|
1150
1152
|
/** Contact reason */
|
|
1151
|
-
reason
|
|
1153
|
+
reason?: string;
|
|
1152
1154
|
};
|
|
1153
1155
|
export type LeadResponse = {
|
|
1154
1156
|
/** Unique identifier of the lead. */
|
|
@@ -1159,40 +1161,52 @@ export type LeadResponse = {
|
|
|
1159
1161
|
name: string;
|
|
1160
1162
|
/** Email address of the lead. */
|
|
1161
1163
|
email: string;
|
|
1162
|
-
/** Phone number of the lead, including country code if applicable. */
|
|
1163
|
-
phone: string;
|
|
1164
|
-
/** Reason for the lead's contact or inquiry. */
|
|
1165
|
-
reason: string;
|
|
1166
1164
|
/** Name of the company associated with the lead, if applicable. */
|
|
1167
1165
|
companyName?: string | null;
|
|
1168
|
-
/** Industry of the company associated with the lead, if applicable. */
|
|
1169
|
-
companyIndustry?: string | null;
|
|
1170
|
-
/** Size of the team in the company associated with the lead, if applicable. */
|
|
1171
|
-
teamSize?: string | null;
|
|
1172
|
-
/** Preferred contact method. */
|
|
1173
|
-
contactPreference?: ("EMAIL" | "PHONE") | null;
|
|
1174
1166
|
/** Timestamp when the lead was created. */
|
|
1175
1167
|
createdAt: string;
|
|
1176
1168
|
/** Timestamp when the lead was last updated, if applicable. */
|
|
1177
1169
|
updatedAt?: string | null;
|
|
1178
1170
|
/** Timestamp when the lead was deleted, if applicable. */
|
|
1179
1171
|
deletedAt?: string | null;
|
|
1172
|
+
/** Trial user's company size */
|
|
1173
|
+
companySize?: ("STARTUP" | "SMALL" | "MEDIUM" | "LARGE") | null;
|
|
1174
|
+
/** Account owner's area of work */
|
|
1175
|
+
workArea: "DATA" | "PRODUCT_DESIGN" | "SOFTWARE_DEVELOPMENT" | "QA" | "INFRA_CLOUD" | "BUSINESS_OPERATIONS" | "MARKETING_SALES" | "OTHER";
|
|
1176
|
+
/** The job title of trial user */
|
|
1177
|
+
jobTitle?: ("INTERN" | "ANALYST" | "SPECIALIST" | "LEAD" | "DIRECTOR" | "C_LEVEL") | null;
|
|
1178
|
+
/** Phone number of the lead, including country code if applicable. */
|
|
1179
|
+
phone?: string | null;
|
|
1180
|
+
/** Reason for the lead's contact or inquiry. */
|
|
1181
|
+
reason?: string | null;
|
|
1182
|
+
/** Industry of the company associated with the lead, if applicable. */
|
|
1183
|
+
companyIndustry?: string | null;
|
|
1184
|
+
/** Size of the team in the company associated with the lead, if applicable. */
|
|
1185
|
+
teamSize?: string | null;
|
|
1186
|
+
/** Preferred contact method. */
|
|
1187
|
+
contactPreference?: ("EMAIL" | "PHONE") | null;
|
|
1180
1188
|
};
|
|
1181
1189
|
export type EnterpriseLeadRequest = {
|
|
1182
1190
|
/** Lead name */
|
|
1183
1191
|
name: string;
|
|
1184
1192
|
/** Lead email */
|
|
1185
1193
|
email: string;
|
|
1186
|
-
/** Lead phone number */
|
|
1187
|
-
phone: string;
|
|
1188
1194
|
/** Company name */
|
|
1189
1195
|
companyName: string;
|
|
1196
|
+
/** Trial user's company size */
|
|
1197
|
+
companySize: "STARTUP" | "SMALL" | "MEDIUM" | "LARGE";
|
|
1198
|
+
/** Account owner's area of work */
|
|
1199
|
+
workArea: "DATA" | "PRODUCT_DESIGN" | "SOFTWARE_DEVELOPMENT" | "QA" | "INFRA_CLOUD" | "BUSINESS_OPERATIONS" | "MARKETING_SALES" | "OTHER";
|
|
1200
|
+
/** The job title of trial user */
|
|
1201
|
+
jobTitle: "INTERN" | "ANALYST" | "SPECIALIST" | "LEAD" | "DIRECTOR" | "C_LEVEL";
|
|
1202
|
+
/** Lead phone number */
|
|
1203
|
+
phone?: string;
|
|
1190
1204
|
/** Company industry */
|
|
1191
|
-
companyIndustry
|
|
1205
|
+
companyIndustry?: string;
|
|
1192
1206
|
/** Team size */
|
|
1193
|
-
teamSize
|
|
1207
|
+
teamSize?: string;
|
|
1194
1208
|
/** Contact reason */
|
|
1195
|
-
reason
|
|
1209
|
+
reason?: string;
|
|
1196
1210
|
};
|
|
1197
1211
|
export type CreateUserInvitationRequest = {
|
|
1198
1212
|
/** User email */
|
|
@@ -1484,6 +1498,10 @@ export type AccountTrialCreateRequest = {
|
|
|
1484
1498
|
slug: string;
|
|
1485
1499
|
/** The full name of the person who is creating a trial account */
|
|
1486
1500
|
fullName: string;
|
|
1501
|
+
/** Account owner's area of work */
|
|
1502
|
+
workArea: "DATA" | "PRODUCT_DESIGN" | "SOFTWARE_DEVELOPMENT" | "QA" | "INFRA_CLOUD" | "BUSINESS_OPERATIONS" | "MARKETING_SALES" | "OTHER";
|
|
1503
|
+
/** The campaign code */
|
|
1504
|
+
campaignCode?: string;
|
|
1487
1505
|
/** The company name where the trial user is related */
|
|
1488
1506
|
companyName?: string;
|
|
1489
1507
|
/** The company amount of people where the trial user is related */
|
|
@@ -1496,8 +1514,6 @@ export type AccountTrialCreateRequest = {
|
|
|
1496
1514
|
reachedBy?: ("GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER")[];
|
|
1497
1515
|
/** The custom channel used for the trial user to reach Stackspot */
|
|
1498
1516
|
customReachedBy?: string;
|
|
1499
|
-
/** The campaign code */
|
|
1500
|
-
campaignCode?: string;
|
|
1501
1517
|
};
|
|
1502
1518
|
export type PersonalAccountExpirationDataResponse = {
|
|
1503
1519
|
/** Account id */
|
|
@@ -2197,7 +2213,7 @@ export type Campaign = {
|
|
|
2197
2213
|
id: string;
|
|
2198
2214
|
rewardType: "DAYS" | "TOKENS";
|
|
2199
2215
|
rewardAmount: number;
|
|
2200
|
-
};
|
|
2216
|
+
} | null;
|
|
2201
2217
|
export type PersonalAccountDetailsResponse = {
|
|
2202
2218
|
/** Unique identifier of the personal account. */
|
|
2203
2219
|
id: number;
|
|
@@ -2205,6 +2221,13 @@ export type PersonalAccountDetailsResponse = {
|
|
|
2205
2221
|
accountId: string;
|
|
2206
2222
|
/** Full name of the account owner. */
|
|
2207
2223
|
fullName: string;
|
|
2224
|
+
/** Date and time until the account is valid. */
|
|
2225
|
+
validUntil: string;
|
|
2226
|
+
/** Date and time that the account was created. */
|
|
2227
|
+
createdAt: string;
|
|
2228
|
+
campaign?: Campaign;
|
|
2229
|
+
/** Account owner's area of work */
|
|
2230
|
+
workArea: "DATA" | "PRODUCT_DESIGN" | "SOFTWARE_DEVELOPMENT" | "QA" | "INFRA_CLOUD" | "BUSINESS_OPERATIONS" | "MARKETING_SALES" | "OTHER";
|
|
2208
2231
|
/** Name of the company associated with the account. */
|
|
2209
2232
|
companyName?: string | null;
|
|
2210
2233
|
/** Size of the company associated with the account. */
|
|
@@ -2217,11 +2240,6 @@ export type PersonalAccountDetailsResponse = {
|
|
|
2217
2240
|
reachedBy?: (("GOOGLE_SEARCH" | "REFERRAL" | "SOCIAL_MEDIA" | "ONLINE_AD" | "EVENT_CONFERENCE" | "EMAIL_CAMPAIGN" | "FRIEND_COLLEAGUE" | "BLOG_ARTICLE" | "YOUTUBE_VIDEO_CONTENT" | "ZUP_OFFICIAL_CHANNELS" | "OTHER") | null)[] | null;
|
|
2218
2241
|
/** Custom description of how the account owner was reached, if not listed. */
|
|
2219
2242
|
customReachedBy?: string | null;
|
|
2220
|
-
/** Date and time until the account is valid. */
|
|
2221
|
-
validUntil: string;
|
|
2222
|
-
/** Date and time that the account was created. */
|
|
2223
|
-
createdAt: string;
|
|
2224
|
-
campaign?: Campaign;
|
|
2225
2243
|
};
|
|
2226
2244
|
export type AccountSsoResponse = {
|
|
2227
2245
|
/** SSO configuration name */
|