@stack-spot/portal-network 0.72.0 → 0.72.1-beta.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [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
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * 2164 paginations ([efbcf90](https://github.com/stack-spot/portal-commons/commit/efbcf90113b4716dd12d423eaba6eec0e2c9b90f))
9
+
3
10
  ## [0.72.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.71.0...portal-network@v0.72.0) (2025-01-20)
4
11
 
5
12
 
@@ -158,6 +158,7 @@ export type AccountMemberStackspotIamDto = {
158
158
  properties?: {
159
159
  [key: string]: object;
160
160
  };
161
+ avatarImage?: string;
161
162
  };
162
163
  export type UpdateUserRequest = {
163
164
  /** User username */
@@ -180,6 +181,8 @@ export type UpdateUserRequest = {
180
181
  company?: string;
181
182
  /** User new password */
182
183
  password?: string;
184
+ /** Image profile */
185
+ avatarImageBase64?: string;
183
186
  };
184
187
  export type UpdateUserResponse = {
185
188
  username?: string;
@@ -629,7 +632,7 @@ export type AccountMemberResponse = {
629
632
  /** Account member status */
630
633
  isActive: boolean;
631
634
  /** Account member avatar URL */
632
- avatarUrl?: string;
635
+ avatarImage?: string;
633
636
  /** Account member full name */
634
637
  name: string;
635
638
  };
@@ -654,6 +657,8 @@ export type CreateUserRequest = {
654
657
  password?: string;
655
658
  /** User Company */
656
659
  company?: string;
660
+ /** Image profile */
661
+ avatarImageBase64?: string;
657
662
  };
658
663
  export type CreateUserResponse = {
659
664
  username: string;
@@ -796,6 +801,89 @@ export type CreateFeatureFlagRequest = {
796
801
  /** The feature flag description */
797
802
  description: string;
798
803
  };
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
+ };
799
887
  export type WelcomeEmailRequest = {
800
888
  /** Firstname of the contact requester */
801
889
  firstName: string;
@@ -1151,6 +1239,24 @@ export type UpdateGroupPermissionsRequest = {
1151
1239
  /** Slug from resource */
1152
1240
  resourceSlug: string;
1153
1241
  };
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
+ };
1154
1260
  export type AddNewEmailDomainRequest = {
1155
1261
  /** Email domains list that account users will use to login into StackSpot. Example: zup.com.br */
1156
1262
  domains: string[];
@@ -1469,6 +1575,23 @@ export type ResourceDto = {
1469
1575
  description?: string;
1470
1576
  "type"?: ResourceTypeDto;
1471
1577
  };
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
+ };
1472
1595
  export type AccountAuthenticationConfigResponse = {
1473
1596
  /** OpenID Well Known url for current account */
1474
1597
  openIdWellKnownUrl: string;
@@ -2096,6 +2219,47 @@ export declare function getFeatures(opts?: Oazapfts.RequestOpts): Promise<Featur
2096
2219
  export declare function create({ createFeatureFlagRequest }: {
2097
2220
  createFeatureFlagRequest: CreateFeatureFlagRequest;
2098
2221
  }, 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>;
2099
2263
  /**
2100
2264
  * Send Welcome Email
2101
2265
  */
@@ -2378,6 +2542,32 @@ export declare function enable({ id }: {
2378
2542
  export declare function disable({ id }: {
2379
2543
  id: number;
2380
2544
  }, 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>;
2381
2571
  /**
2382
2572
  * Adds a new email domain to an existing account
2383
2573
  */
@@ -2830,6 +3020,26 @@ export declare function getAccountMembersToCollaborators({ size, page, sort, dir
2830
3020
  multiFilterMode?: string;
2831
3021
  filterIn?: any;
2832
3022
  }, 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>;
2833
3043
  /**
2834
3044
  * Get Authentication Configuration for account
2835
3045
  */
@@ -2912,6 +3122,12 @@ export declare function removeRoleFromMember({ roleId, memberId }: {
2912
3122
  export declare function deleteResource({ resourceId }: {
2913
3123
  resourceId: string;
2914
3124
  }, 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>;
2915
3131
  /**
2916
3132
  * Remove resource from member favorites
2917
3133
  */