@stack-spot/portal-network 0.72.1-beta.3 → 0.73.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/CHANGELOG.md +7 -0
- package/dist/api/account.d.ts +1 -217
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +2 -135
- package/dist/api/account.js.map +1 -1
- package/dist/api/agent.d.ts +30 -5
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/agent.js +24 -4
- package/dist/api/agent.js.map +1 -1
- package/dist/client/account.d.ts +0 -87
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +1 -118
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent.d.ts +1 -0
- package/dist/client/agent.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/account.ts +3 -499
- package/src/api/agent.ts +68 -7
- package/src/client/account.ts +2 -77
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.73.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.72.1...portal-network@v0.73.0) (2025-01-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update-agent-api ([bc0fb5d](https://github.com/stack-spot/portal-commons/commit/bc0fb5deccf50a2960ca6687efb37498f768b7d7))
|
|
9
|
+
|
|
3
10
|
## [0.72.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.72.0...portal-network@v0.72.1) (2025-01-21)
|
|
4
11
|
|
|
5
12
|
|
package/dist/api/account.d.ts
CHANGED
|
@@ -158,7 +158,6 @@ export type AccountMemberStackspotIamDto = {
|
|
|
158
158
|
properties?: {
|
|
159
159
|
[key: string]: object;
|
|
160
160
|
};
|
|
161
|
-
avatarImage?: string;
|
|
162
161
|
};
|
|
163
162
|
export type UpdateUserRequest = {
|
|
164
163
|
/** User username */
|
|
@@ -181,8 +180,6 @@ export type UpdateUserRequest = {
|
|
|
181
180
|
company?: string;
|
|
182
181
|
/** User new password */
|
|
183
182
|
password?: string;
|
|
184
|
-
/** Image profile */
|
|
185
|
-
avatarImageBase64?: string;
|
|
186
183
|
};
|
|
187
184
|
export type UpdateUserResponse = {
|
|
188
185
|
username?: string;
|
|
@@ -632,7 +629,7 @@ export type AccountMemberResponse = {
|
|
|
632
629
|
/** Account member status */
|
|
633
630
|
isActive: boolean;
|
|
634
631
|
/** Account member avatar URL */
|
|
635
|
-
|
|
632
|
+
avatarUrl?: string;
|
|
636
633
|
/** Account member full name */
|
|
637
634
|
name: string;
|
|
638
635
|
};
|
|
@@ -657,8 +654,6 @@ export type CreateUserRequest = {
|
|
|
657
654
|
password?: string;
|
|
658
655
|
/** User Company */
|
|
659
656
|
company?: string;
|
|
660
|
-
/** Image profile */
|
|
661
|
-
avatarImageBase64?: string;
|
|
662
657
|
};
|
|
663
658
|
export type CreateUserResponse = {
|
|
664
659
|
username: string;
|
|
@@ -801,89 +796,6 @@ export type CreateFeatureFlagRequest = {
|
|
|
801
796
|
/** The feature flag description */
|
|
802
797
|
description: string;
|
|
803
798
|
};
|
|
804
|
-
export type ExtensionInfoByLanguageResponse = {
|
|
805
|
-
pt?: string;
|
|
806
|
-
en?: string;
|
|
807
|
-
};
|
|
808
|
-
export type ExtensionReadResponse = {
|
|
809
|
-
/** Extension Id */
|
|
810
|
-
id: string;
|
|
811
|
-
/** Extension Slug */
|
|
812
|
-
slug: string;
|
|
813
|
-
description?: ExtensionInfoByLanguageResponse;
|
|
814
|
-
displayName?: ExtensionInfoByLanguageResponse;
|
|
815
|
-
/** The Id from active extension version */
|
|
816
|
-
activeVersionId?: string;
|
|
817
|
-
};
|
|
818
|
-
export type ExtensionInfoByLanguageRequest = {
|
|
819
|
-
pt?: string;
|
|
820
|
-
en?: string;
|
|
821
|
-
};
|
|
822
|
-
export type ExtensionCreateRequest = {
|
|
823
|
-
/** The slug to use in URL as unique identifying part representing the extension */
|
|
824
|
-
slug: string;
|
|
825
|
-
description?: ExtensionInfoByLanguageRequest;
|
|
826
|
-
displayName?: ExtensionInfoByLanguageRequest;
|
|
827
|
-
};
|
|
828
|
-
export type ExtensionVersionResumedReadResponse = {
|
|
829
|
-
/** Extension Version Id */
|
|
830
|
-
id: string;
|
|
831
|
-
/** Extension Slug */
|
|
832
|
-
extensionSlug: string;
|
|
833
|
-
/** The extension version name */
|
|
834
|
-
name: string;
|
|
835
|
-
/** The extension version content url */
|
|
836
|
-
dataUrl: string;
|
|
837
|
-
/** The extension version date and time of creation */
|
|
838
|
-
createdAt: string;
|
|
839
|
-
};
|
|
840
|
-
export type ExtensionLinkReadResponse = {
|
|
841
|
-
/** Extension Link Id */
|
|
842
|
-
id: string;
|
|
843
|
-
/** Extension Slug related with the link */
|
|
844
|
-
extensionSlug: string;
|
|
845
|
-
/** The extension Link type */
|
|
846
|
-
"type": string;
|
|
847
|
-
/** The extension Link path */
|
|
848
|
-
path?: string;
|
|
849
|
-
/** The workspace id where the Extension should be displayed */
|
|
850
|
-
workspaceId?: string;
|
|
851
|
-
/** The menu height from Extension */
|
|
852
|
-
height?: number;
|
|
853
|
-
/** The menu weight from Extension */
|
|
854
|
-
weight?: number;
|
|
855
|
-
displayName?: ExtensionInfoByLanguageResponse;
|
|
856
|
-
};
|
|
857
|
-
export type ExtensionLinkCreateRequest = {
|
|
858
|
-
/** The slug from related Extension */
|
|
859
|
-
extensionSlug: string;
|
|
860
|
-
/** The type of the Extension Link */
|
|
861
|
-
"type": string;
|
|
862
|
-
/** The Workspace Id where the Extension should be displayed */
|
|
863
|
-
workspaceId?: string;
|
|
864
|
-
/** The Extension menu height */
|
|
865
|
-
height?: number;
|
|
866
|
-
/** The Extension menu weight */
|
|
867
|
-
weight?: number;
|
|
868
|
-
/** The Extension path */
|
|
869
|
-
path?: string;
|
|
870
|
-
};
|
|
871
|
-
export type ExtensionLinkCreateResponse = {
|
|
872
|
-
/** Extension Link Id */
|
|
873
|
-
id: string;
|
|
874
|
-
/** Extension Slug related with the Link */
|
|
875
|
-
extensionSlug: string;
|
|
876
|
-
/** The type of the Extension Link */
|
|
877
|
-
"type": string;
|
|
878
|
-
/** The Workspace Id where the Extension should be displayed */
|
|
879
|
-
workspaceId?: string;
|
|
880
|
-
/** The Extension menu height */
|
|
881
|
-
height?: number;
|
|
882
|
-
/** The Extension menu weight */
|
|
883
|
-
weight?: number;
|
|
884
|
-
/** The Extension path */
|
|
885
|
-
path?: string;
|
|
886
|
-
};
|
|
887
799
|
export type WelcomeEmailRequest = {
|
|
888
800
|
/** Firstname of the contact requester */
|
|
889
801
|
firstName: string;
|
|
@@ -1239,24 +1151,6 @@ export type UpdateGroupPermissionsRequest = {
|
|
|
1239
1151
|
/** Slug from resource */
|
|
1240
1152
|
resourceSlug: string;
|
|
1241
1153
|
};
|
|
1242
|
-
export type ExtensionUpdateRequest = {
|
|
1243
|
-
/** The Id from active extension version */
|
|
1244
|
-
activeVersionId?: string;
|
|
1245
|
-
description?: ExtensionInfoByLanguageRequest;
|
|
1246
|
-
displayName?: ExtensionInfoByLanguageRequest;
|
|
1247
|
-
};
|
|
1248
|
-
export type ExtensionLinkUpdateRequest = {
|
|
1249
|
-
/** The type of the Extension Link */
|
|
1250
|
-
"type"?: string;
|
|
1251
|
-
/** The Workspace Id where the Extension should be displayed */
|
|
1252
|
-
workspaceId?: string;
|
|
1253
|
-
/** The Extension menu height */
|
|
1254
|
-
height?: number;
|
|
1255
|
-
/** The Extension menu weight */
|
|
1256
|
-
weight?: number;
|
|
1257
|
-
/** The Extension path */
|
|
1258
|
-
path?: string;
|
|
1259
|
-
};
|
|
1260
1154
|
export type AddNewEmailDomainRequest = {
|
|
1261
1155
|
/** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
|
|
1262
1156
|
domains: string[];
|
|
@@ -1575,23 +1469,6 @@ export type ResourceDto = {
|
|
|
1575
1469
|
description?: string;
|
|
1576
1470
|
"type"?: ResourceTypeDto;
|
|
1577
1471
|
};
|
|
1578
|
-
export type ExtensionVersionInfoByLanguageResponse = {
|
|
1579
|
-
pt?: string;
|
|
1580
|
-
en?: string;
|
|
1581
|
-
};
|
|
1582
|
-
export type ExtensionVersionResponse = {
|
|
1583
|
-
/** Extension Version Id */
|
|
1584
|
-
id: string;
|
|
1585
|
-
/** Extension Slug */
|
|
1586
|
-
extensionSlug: string;
|
|
1587
|
-
/** The extension version name */
|
|
1588
|
-
name: string;
|
|
1589
|
-
/** The extension version content url */
|
|
1590
|
-
dataUrl: string;
|
|
1591
|
-
/** The extension version date and time of creation */
|
|
1592
|
-
createdAt: string;
|
|
1593
|
-
displayName?: ExtensionVersionInfoByLanguageResponse;
|
|
1594
|
-
};
|
|
1595
1472
|
export type AccountAuthenticationConfigResponse = {
|
|
1596
1473
|
/** OpenID Well Known url for current account */
|
|
1597
1474
|
openIdWellKnownUrl: string;
|
|
@@ -2219,47 +2096,6 @@ export declare function getFeatures(opts?: Oazapfts.RequestOpts): Promise<Featur
|
|
|
2219
2096
|
export declare function create({ createFeatureFlagRequest }: {
|
|
2220
2097
|
createFeatureFlagRequest: CreateFeatureFlagRequest;
|
|
2221
2098
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2222
|
-
/**
|
|
2223
|
-
* List all Account Extensions
|
|
2224
|
-
*/
|
|
2225
|
-
export declare function listExtensions(opts?: Oazapfts.RequestOpts): Promise<ExtensionReadResponse[]>;
|
|
2226
|
-
/**
|
|
2227
|
-
* Create Account Extension
|
|
2228
|
-
*/
|
|
2229
|
-
export declare function createExtension({ extensionCreateRequest }: {
|
|
2230
|
-
extensionCreateRequest: ExtensionCreateRequest;
|
|
2231
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2232
|
-
/**
|
|
2233
|
-
* List all Account Extension Versions
|
|
2234
|
-
*/
|
|
2235
|
-
export declare function listExtensionVersions({ slug }: {
|
|
2236
|
-
slug: string;
|
|
2237
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ExtensionVersionResumedReadResponse[]>;
|
|
2238
|
-
/**
|
|
2239
|
-
* Create Account Extension Version
|
|
2240
|
-
*/
|
|
2241
|
-
export declare function createExtensionVersion({ slug, name, body }: {
|
|
2242
|
-
slug: string;
|
|
2243
|
-
name: string;
|
|
2244
|
-
body?: {
|
|
2245
|
-
file: Blob;
|
|
2246
|
-
};
|
|
2247
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2248
|
-
/**
|
|
2249
|
-
* List all Account Extension Links
|
|
2250
|
-
*/
|
|
2251
|
-
export declare function listExtensionLinks({ workspaceId, $type, extensionSlug, showOnlyActive }: {
|
|
2252
|
-
workspaceId?: string;
|
|
2253
|
-
$type?: string;
|
|
2254
|
-
extensionSlug?: any;
|
|
2255
|
-
showOnlyActive?: any;
|
|
2256
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ExtensionLinkReadResponse[]>;
|
|
2257
|
-
/**
|
|
2258
|
-
* Create Account Extension Link
|
|
2259
|
-
*/
|
|
2260
|
-
export declare function createExtensionLink({ extensionLinkCreateRequest }: {
|
|
2261
|
-
extensionLinkCreateRequest: ExtensionLinkCreateRequest;
|
|
2262
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ExtensionLinkCreateResponse>;
|
|
2263
2099
|
/**
|
|
2264
2100
|
* Send Welcome Email
|
|
2265
2101
|
*/
|
|
@@ -2542,32 +2378,6 @@ export declare function enable({ id }: {
|
|
|
2542
2378
|
export declare function disable({ id }: {
|
|
2543
2379
|
id: number;
|
|
2544
2380
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2545
|
-
/**
|
|
2546
|
-
* Delete Account Extension
|
|
2547
|
-
*/
|
|
2548
|
-
export declare function deleteExtension({ slug }: {
|
|
2549
|
-
slug: string;
|
|
2550
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2551
|
-
/**
|
|
2552
|
-
* Update Account Extension
|
|
2553
|
-
*/
|
|
2554
|
-
export declare function updateExtension({ slug, extensionUpdateRequest }: {
|
|
2555
|
-
slug: string;
|
|
2556
|
-
extensionUpdateRequest: ExtensionUpdateRequest;
|
|
2557
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2558
|
-
/**
|
|
2559
|
-
* Delete Account Extension Link
|
|
2560
|
-
*/
|
|
2561
|
-
export declare function deleteExtensionLink({ id }: {
|
|
2562
|
-
id: string;
|
|
2563
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2564
|
-
/**
|
|
2565
|
-
* Update Account Extension Link
|
|
2566
|
-
*/
|
|
2567
|
-
export declare function updateExtensionLink({ id, extensionLinkUpdateRequest }: {
|
|
2568
|
-
id: string;
|
|
2569
|
-
extensionLinkUpdateRequest?: ExtensionLinkUpdateRequest;
|
|
2570
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
2571
2381
|
/**
|
|
2572
2382
|
* Adds a new email domain to an existing account
|
|
2573
2383
|
*/
|
|
@@ -3020,26 +2830,6 @@ export declare function getAccountMembersToCollaborators({ size, page, sort, dir
|
|
|
3020
2830
|
multiFilterMode?: string;
|
|
3021
2831
|
filterIn?: any;
|
|
3022
2832
|
}, opts?: Oazapfts.RequestOpts): Promise<AccountMemberResponse[]>;
|
|
3023
|
-
/**
|
|
3024
|
-
* Get a Account Extension Version
|
|
3025
|
-
*/
|
|
3026
|
-
export declare function getExtensionVersion({ slug, versionName }: {
|
|
3027
|
-
slug: string;
|
|
3028
|
-
versionName: string;
|
|
3029
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ExtensionVersionResponse>;
|
|
3030
|
-
/**
|
|
3031
|
-
* Delete Account Extension Version
|
|
3032
|
-
*/
|
|
3033
|
-
export declare function deleteExtensionVersion({ slug, versionName }: {
|
|
3034
|
-
slug: string;
|
|
3035
|
-
versionName: string;
|
|
3036
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
3037
|
-
/**
|
|
3038
|
-
* Get the active Extension Version
|
|
3039
|
-
*/
|
|
3040
|
-
export declare function getActiveExtensionVersion({ slug }: {
|
|
3041
|
-
slug: string;
|
|
3042
|
-
}, opts?: Oazapfts.RequestOpts): Promise<ExtensionVersionResponse>;
|
|
3043
2833
|
/**
|
|
3044
2834
|
* Get Authentication Configuration for account
|
|
3045
2835
|
*/
|
|
@@ -3122,12 +2912,6 @@ export declare function removeRoleFromMember({ roleId, memberId }: {
|
|
|
3122
2912
|
export declare function deleteResource({ resourceId }: {
|
|
3123
2913
|
resourceId: string;
|
|
3124
2914
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
3125
|
-
/**
|
|
3126
|
-
* Removes member profile image
|
|
3127
|
-
*/
|
|
3128
|
-
export declare function deleteProfileImage({ memberId }: {
|
|
3129
|
-
memberId: string;
|
|
3130
|
-
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
3131
2915
|
/**
|
|
3132
2916
|
* Remove resource from member favorites
|
|
3133
2917
|
*/
|