@rezamirzapour/pod-sdk 1.0.8 → 1.0.10

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.mts CHANGED
@@ -131,6 +131,52 @@ declare class SsoService {
131
131
  getUserProfile(accessToken: string): Promise<PodResponse<SsoUserProfile>>;
132
132
  }
133
133
 
134
+ /**
135
+ * Types for Captcha service
136
+ */
137
+ interface GenerateCaptchaResponse {
138
+ referenceNumber: number;
139
+ hasError: boolean;
140
+ errorCode: number;
141
+ refId: string;
142
+ message: any[];
143
+ count: number;
144
+ aggregations: number;
145
+ result: ResultData;
146
+ metaData: any[];
147
+ }
148
+ interface ResultData {
149
+ hash: string;
150
+ expireTime: number;
151
+ challenge: string;
152
+ url: string;
153
+ }
154
+ interface CheckCaptchaOptions {
155
+ /** The captcha value entered by user */
156
+ value: string;
157
+ hash: string;
158
+ }
159
+ type CheckCaptchaResponse = boolean;
160
+
161
+ interface CaptchaServiceOptions {
162
+ baseUrl: string;
163
+ clientId: string;
164
+ accessToken: string;
165
+ }
166
+ declare class CaptchaService {
167
+ private http;
168
+ private clientId;
169
+ constructor(options: CaptchaServiceOptions);
170
+ /**
171
+ * Get a new captcha image
172
+ */
173
+ get(): Promise<PodResponse<GenerateCaptchaResponse>>;
174
+ /**
175
+ * Check if the entered captcha value is valid
176
+ */
177
+ check(options: CheckCaptchaOptions): Promise<PodResponse<CheckCaptchaResponse>>;
178
+ }
179
+
134
180
  interface SearchTimelineParamMetaQuery<T extends object = any> {
135
181
  field?: string;
136
182
  is?: string | number | boolean;
@@ -1793,38 +1839,263 @@ declare class PodspaceService {
1793
1839
  removeBookmark(hash: string, options?: PodspaceRequestOptions): Promise<PodspaceRestResponse<boolean>>;
1794
1840
  }
1795
1841
 
1796
- interface PodFormItem {
1797
- id: number;
1798
- title?: string;
1799
- elements?: any[];
1800
- [key: string]: any;
1801
- }
1842
+ type PodFormId = number | string;
1843
+ type PodFormJson = Record<string, any>;
1844
+ /** Request options accepted by PodForm methods. */
1845
+ type PodFormRequestOptions = RequestOptions;
1846
+ /** Standard response envelope returned by PodForm. */
1802
1847
  interface PodFormResponse<T = any> {
1803
1848
  hasError: boolean;
1804
1849
  message?: string;
1805
1850
  errorCode?: number;
1806
1851
  result?: T;
1807
1852
  referenceNumber?: string;
1853
+ count?: number;
1854
+ [key: string]: any;
1855
+ }
1856
+ /** Form returned by the `/forms` endpoints. */
1857
+ interface PodFormItem extends PodFormJson {
1858
+ id: number;
1859
+ hash?: string;
1860
+ name?: string;
1861
+ title?: string;
1862
+ elements?: any[];
1863
+ fields?: PodFormField[];
1864
+ }
1865
+ /** Field returned by or sent to a form endpoint. */
1866
+ interface PodFormField extends PodFormJson {
1867
+ id?: number;
1868
+ title?: string;
1869
+ type?: string;
1870
+ required?: boolean;
1871
+ order?: number;
1872
+ }
1873
+ interface PodFormCreationDto extends PodFormJson {
1874
+ name: string;
1875
+ type: 'GENERAL' | 'SHOP' | 'EXAM' | string;
1876
+ display: 'CLASSIC' | 'CARD' | string;
1877
+ fields?: PodFormField[];
1878
+ }
1879
+ interface PodFormUpdateDto extends PodFormJson {
1880
+ name?: string;
1881
+ enabled?: boolean;
1882
+ activate?: boolean;
1883
+ state?: string;
1884
+ fieldsRandomization?: boolean;
1885
+ tags?: string[];
1886
+ }
1887
+ interface PodFormSettingsUpdateDto extends PodFormJson {
1888
+ name?: string;
1889
+ display?: 'CLASSIC' | 'CARD' | string;
1890
+ enabled?: boolean;
1891
+ activate?: boolean;
1892
+ fieldsRandomization?: boolean;
1893
+ tags?: string[];
1894
+ }
1895
+ interface PodFormListParams {
1896
+ page?: number;
1897
+ size?: number;
1898
+ sortBy?: string;
1899
+ ascending?: boolean;
1900
+ name?: string;
1901
+ ownership?: string;
1902
+ status?: string;
1903
+ technicalStatus?: string;
1904
+ tags?: string[];
1905
+ folderId?: number;
1906
+ [key: string]: any;
1907
+ }
1908
+ interface PodFormGetParams {
1909
+ lockForEdit?: boolean;
1910
+ }
1911
+ interface PodFormPreviewParams {
1912
+ responseId?: number;
1913
+ code?: string;
1914
+ responseHash?: string;
1915
+ userParams?: string;
1916
+ }
1917
+ interface PodFormResponseCreationDto extends PodFormJson {
1918
+ responses?: PodFormJson[];
1919
+ parentFieldIds?: number[];
1920
+ seenFieldIds?: number[];
1921
+ screen?: string;
1922
+ cookies?: boolean;
1923
+ userMetadata?: PodFormJson;
1924
+ userResponseTimeMilliSeconds?: number;
1925
+ }
1926
+ interface PodFormResponseInitiationDto extends PodFormJson {
1927
+ owner?: string;
1928
+ responses: PodFormJson[];
1929
+ }
1930
+ interface PodFormResponseListParams {
1931
+ page?: number;
1932
+ size?: number;
1933
+ ssoId?: number;
1934
+ username?: string;
1935
+ gradingStatus?: string;
1936
+ scoreFrom?: number;
1937
+ scoreTo?: number;
1938
+ startDate?: string;
1939
+ endDate?: string;
1940
+ sortDirection?: string;
1941
+ [key: string]: any;
1942
+ }
1943
+ interface PodFormPaymentListParams {
1944
+ page?: number;
1945
+ size?: number;
1946
+ payed?: boolean;
1947
+ ssoId?: number;
1948
+ username?: string;
1949
+ startDate?: string;
1950
+ endDate?: string;
1951
+ [key: string]: any;
1952
+ }
1953
+ interface PodFormTemplateDto extends PodFormJson {
1954
+ name: string;
1955
+ theme?: PodFormJson;
1956
+ }
1957
+ interface PodFormFolderDto extends PodFormJson {
1958
+ name: string;
1959
+ config?: PodFormJson;
1960
+ }
1961
+ interface PodFormOtpParams {
1962
+ contact: string;
1963
+ }
1964
+ interface PodFormDownloadLinkParams {
1965
+ fileHash: string;
1966
+ formId?: number;
1967
+ isTemporary?: boolean;
1968
+ }
1969
+ interface PodFormExportParams {
1970
+ fileType?: string;
1971
+ dataType?: string;
1972
+ ssoId?: number;
1973
+ username?: string;
1974
+ isTemplate?: boolean;
1975
+ startDate?: string;
1976
+ endDate?: string;
1808
1977
  }
1809
1978
 
1810
1979
  interface PodFormServiceOptions {
1980
+ /** API base URL, e.g. `https://podformapi.pod.ir`. */
1811
1981
  baseUrl: string;
1812
- apiToken: string;
1982
+ /** POD SSO token sent as the `token` header. */
1983
+ apiToken?: string;
1813
1984
  revalidate?: number | string;
1985
+ http?: NextHttp;
1814
1986
  }
1987
+ /**
1988
+ * Typed client for the official PodForm API (Swagger OAS 3, v2.0.5).
1989
+ *
1990
+ * The API authenticates with the `token` header. All methods keep the raw
1991
+ * PodForm response envelope so callers can inspect `hasError` and metadata.
1992
+ */
1815
1993
  declare class PodFormService {
1816
- private http;
1817
- private apiToken;
1818
- private revalidate;
1994
+ private readonly http;
1995
+ private readonly revalidate;
1819
1996
  constructor(options: PodFormServiceOptions);
1997
+ private requestOptions;
1998
+ private languageHeaders;
1999
+ /** Retrieves a form by its numeric ID. Swagger: GET `/forms/{formId}`. */
2000
+ getForm(formId: PodFormId, params?: PodFormGetParams, options?: PodFormRequestOptions): Promise<PodFormResponse<PodFormItem>>;
2001
+ /** Backward-compatible alias for `getForm`. */
2002
+ getPodformById(id: PodFormId, options?: PodFormRequestOptions): Promise<PodFormResponse<PodFormItem>>;
2003
+ /** Lists forms with the filters supported by Swagger. */
2004
+ getForms(params?: PodFormListParams, options?: PodFormRequestOptions): Promise<PodFormResponse<PodFormItem[]>>;
2005
+ /** Creates a form. Swagger: POST `/forms`. */
2006
+ createForm(data: PodFormCreationDto, language?: string, options?: PodFormRequestOptions): Promise<PodFormResponse<PodFormItem>>;
2007
+ /** Updates a form. Swagger: PATCH `/forms/{formId}`. */
2008
+ updateForm(formId: PodFormId, data: PodFormUpdateDto, options?: PodFormRequestOptions): Promise<PodFormResponse<PodFormItem>>;
2009
+ /** Deletes a form (or moves it to trash). */
2010
+ deleteForm(formId: PodFormId, params?: {
2011
+ removeFromTrash?: boolean;
2012
+ }, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2013
+ /** Gets form settings. Swagger: GET `/forms/{formId}/settings`. */
2014
+ getFormSettings(formId: PodFormId, lockForEdit?: boolean, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2015
+ /** Updates form settings. */
2016
+ updateFormSettings(formId: PodFormId, data: PodFormSettingsUpdateDto, params?: {
2017
+ allowClearCache?: boolean;
2018
+ }, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2019
+ /** Adds a field to a form. */
2020
+ addField(formId: PodFormId, field: PodFormField, language?: string, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2021
+ /** Adds multiple fields to a form. */
2022
+ addFields(formId: PodFormId, fields: PodFormField[], language?: string, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2023
+ /** Updates one or more fields. */
2024
+ updateFields(formId: PodFormId, fields: PodFormJson[], options?: PodFormRequestOptions): Promise<PodFormResponse>;
2025
+ /** Deletes selected fields from a form. */
2026
+ deleteFields(formId: PodFormId, fieldIds: Array<number | string>, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2027
+ /** Gets a form preview by ID. */
2028
+ getFormPreview(formId: PodFormId, params?: PodFormPreviewParams, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2029
+ /** Gets a public form preview by hash. */
2030
+ getFormPreviewByHash(formHash: string, params?: Omit<PodFormPreviewParams, 'responseId'>, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2031
+ /** Generates the captcha associated with a public form. */
2032
+ generateCaptcha(formHash: string, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2033
+ /** Saves a response using the Swagger JSON contract. */
2034
+ saveResponse(formHash: string, data: PodFormResponseCreationDto, params?: Record<string, any>, language?: string, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2035
+ /**
2036
+ * Backward-compatible response helper. The form identifier can be numeric
2037
+ * or a hash; the payload is now sent as JSON per the official API.
2038
+ */
2039
+ sendForm<T extends Record<string, any>>(formHash: PodFormId, data: T, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2040
+ /** Initiates a response before collecting field values. */
2041
+ initiateResponse(formId: PodFormId, data: PodFormResponseInitiationDto, language?: string, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2042
+ /** Retrieves responses for a form with filtering and pagination. */
2043
+ getAllFormResponses(formId: PodFormId, params?: PodFormResponseListParams, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2044
+ /** Retrieves responses by a public form hash. */
2045
+ getAllFormResponsesByHash(formHash: string, params?: Pick<PodFormResponseListParams, 'page' | 'size'>, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2046
+ /** Gets an individual response. */
2047
+ getResponse(responseId: PodFormId, containsNonInputFields?: boolean, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2048
+ /** Updates fields of an existing response. */
2049
+ updateResponseFields(responseId: PodFormId, fields: PodFormJson[], options?: PodFormRequestOptions): Promise<PodFormResponse>;
2050
+ /** Deletes selected/all responses for a form. */
2051
+ deleteResponses(formId: PodFormId, data: PodFormJson | Array<number | string>, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2052
+ /** Lists templates available to the current user. */
2053
+ getTemplates(params?: {
2054
+ page?: number;
2055
+ size?: number;
2056
+ templateOwnership?: string;
2057
+ }, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2058
+ /** Creates a template. */
2059
+ createTemplate(data: PodFormTemplateDto, templateOwnership?: string, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2060
+ /** Updates or deletes a template. */
2061
+ updateTemplate(templateId: PodFormId, data: Partial<PodFormTemplateDto>, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2062
+ deleteTemplate(templateId: PodFormId, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2063
+ /** Lists or creates folders. */
2064
+ getFolders(params?: {
2065
+ page?: number;
2066
+ size?: number;
2067
+ name?: string;
2068
+ ownership?: string;
2069
+ }, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2070
+ createFolder(data: PodFormFolderDto, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2071
+ updateFolder(folderId: PodFormId, data: Partial<PodFormFolderDto>, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2072
+ deleteFolder(folderId: PodFormId, removeFromTrash?: boolean, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2073
+ /** Sends or validates a form OTP. */
2074
+ sendOtp(formHash: string, params: PodFormOtpParams, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2075
+ validateOtp(formHash: string, params: PodFormOtpParams & {
2076
+ code: string;
2077
+ }, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2078
+ /** Retrieves the authenticated PodForm user. */
2079
+ getUser(options?: PodFormRequestOptions): Promise<PodFormResponse>;
2080
+ getUploadLink(options?: PodFormRequestOptions): Promise<PodFormResponse>;
2081
+ getDownloadLink(params: PodFormDownloadLinkParams, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2082
+ /** Gets plans and the current user's plan. */
2083
+ getPlans(params?: {
2084
+ page?: number;
2085
+ size?: number;
2086
+ }, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2087
+ getUserPlan(options?: PodFormRequestOptions): Promise<PodFormResponse>;
2088
+ /** Exports form responses using the official export endpoint. */
2089
+ exportResponses(formId: PodFormId, params?: PodFormExportParams, options?: PodFormRequestOptions): Promise<PodFormResponse>;
2090
+ /** Retrieves the statistical report for a form. */
2091
+ getFormReport(formId: PodFormId, options?: PodFormRequestOptions): Promise<PodFormResponse>;
1820
2092
  /**
1821
- * Submits responses/answers to a POD Form.
1822
- */
1823
- sendForm<T extends Record<string, any>>(formId: number, data: T): Promise<PodFormResponse>;
1824
- /**
1825
- * Retrieves a form and its questions by ID.
2093
+ * Escape hatch for any newly-added Swagger operation not yet represented by
2094
+ * a convenience method. Authentication and base URL are still applied.
1826
2095
  */
1827
- getPodformById(id: number, options?: RequestOptions): Promise<PodFormResponse<PodFormItem>>;
2096
+ request<T = PodFormResponse>(method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE', path: string, options?: PodFormRequestOptions & {
2097
+ body?: any;
2098
+ }): Promise<T>;
1828
2099
  }
1829
2100
 
1830
2101
  interface SendSmsParams {
@@ -3077,6 +3348,7 @@ declare class IumsService {
3077
3348
 
3078
3349
  declare class PodSdk {
3079
3350
  readonly sso: SsoService;
3351
+ readonly captcha: CaptchaService;
3080
3352
  readonly customPost: CustomPostService;
3081
3353
  readonly podspace: PodspaceService;
3082
3354
  readonly podform: PodFormService;
@@ -3137,4 +3409,4 @@ declare function resolvePodUrls(urls?: PodUrlsConfig, sandbox?: boolean): Requir
3137
3409
  declare function encodeBase64(str: string): string;
3138
3410
  declare function generatePodSignatureHeader(keyId: string, privateKeyPem?: string): Promise<string>;
3139
3411
 
3140
- export { type AccessLevel, type AddCommentParams, type AddContentParams, type AddCustomPostParams, type AddCustomPostResponse, type AddProductParams, type ApiPageLink, type ApiPageList, type ApiSimplePageList, type ArchiveParams, type ArchiveProductParams, type BatchPublishParams, type BatchPublishProductParams, type BatchUnpublishParams, type BatchUnpublishProductParams, type Business, type CachePolicy, CmsDataFormatter, type CmsMetadata, CmsProductService, type CmsProductServiceOptions, type CmsRequestOptions, CmsService, type CmsServiceOptions, CmsTagService, type CmsTagServiceOptions, type CommentItem, type ContentBody, type CreateFolderParams, type CreateLinkParams, type CreateTagCategoryParams, type CreateTagTreeItemParams, type CreateUserGroupParams, type CreateWorkspaceParams, type CustomPostCrudConfig, CustomPostCrudService, type CustomPostItem, CustomPostService, type CustomPostServiceOptions, DEFAULT_POD_URLS, type DownloadFileParams, type DownloadImageParams, type DownloadThumbnailParams, type DownloadZipParams, type EditContentParams, type EditProductParams, type FileVersion, type FinalizeResumableParams, type FormattedGetContentResponse, type FormattedGetProductResponse, type FormattedProductSubject, type FormattedSubject, type GetBookmarksParams, type GetCategoriesParams, type GetCategoryResponse, type GetCommentListParams, type GetCommentsParams, type GetContentByEntityIdParams, type GetContentParams, type GetContentResponse, type GetCustomPostParams, type GetCustomPostResponse, type GetFolderChildrenParams, type GetInfOfGraduatedByGraduateDateResponse, type GetProductByEntityIdParams, type GetProductParams, type GetProductResponse, type GetReactionsParams, type GetSessionClassInCurrentDayResponse, type GetTagCategoriesResponse, type GetTagTreeParams, type GetTagTreeResponse, type GetUploadLinkParams, type HandshakeResponse, type IumsResponse, IumsService, type IumsServiceOptions, type LikeCommentParams, type LikePostParams, type MakePublicParams, type MetaContent, type Metadata, NotificationService, type NotificationServiceOptions, type PaginationParams, type PodFormItem, type PodFormResponse, PodFormService, type PodFormServiceOptions, type PodResponse, PodSdk, type PodSdkConfig, type PodUrlsConfig, PodspaceBookmarksService, type PodspaceBookmarksServiceOptions, PodspaceFilesService, type PodspaceFilesServiceOptions, PodspaceFoldersService, type PodspaceFoldersServiceOptions, PodspaceLinksService, type PodspaceLinksServiceOptions, PodspaceMeService, type PodspaceMeServiceOptions, PodspaceMetadataService, type PodspaceMetadataServiceOptions, type PodspaceRequestOptions, type PodspaceRestResponse, PodspaceResumableService, type PodspaceResumableServiceOptions, PodspaceService, type PodspaceServiceOptions, PodspaceSharesService, type PodspaceSharesServiceOptions, PodspaceTagsService, type PodspaceTagsServiceOptions, PodspaceTrashService, type PodspaceTrashServiceOptions, PodspaceUploadDownloadService, type PodspaceUploadDownloadServiceOptions, type PodspaceUploadResponse, type PodspaceUploadResult, type PodspaceUser, PodspaceUserGroupsService, type PodspaceUserGroupsServiceOptions, PodspaceWorkspacesService, type PodspaceWorkspacesServiceOptions, type ProductBody, type ProductItem, type ProductItemWithFormatted, type Rate, type ReplaceFileParams, type ResultItem, type ResultItemWithFormatted, SANDBOX_POD_URLS, type SearchFilesParams, type SearchTimelineByMetadataParam, type SearchTimelineParamMetaQuery, type SearchTimelineResponse, type SearchTimelineResultItem, type SendOtpOptions, type SendSmsParams, type SendSmsResponse, type SeoType, type Share, type ShareAccess, type ShareEntityParams, type ShareType, type SocialResponse, SocialService, type SocialServiceOptions, type SpaceEntity, type SpaceFile, type SpaceFolder, SsoService, type SsoServiceOptions, type SsoUserProfile, type Subject, type TagCategoryItem, type TagCategoryListParams, type TagTreeAncestorsParams, type TagTreeMetadata, type TagtreesType, type ThumbnailStatus, type TimelineResponse, type TimelineSearchBody, type TokenResponse, type UpdateCustomPostParams, type UpdateLinkParams, type UpdateTagCategoryParams, type UpdateTagTreeItemParams, type UpdateWorkspaceParams, type UploadFileParams, type UploadImageBase64Params, type UploadMultipleFilesParams, type UserGroup, type UserPlan, type UserPostInfo, type UserUsageReport, type VerifyResponse, type Workspace, type WorkspaceMember, createPodSdk, PodSdk as default, encodeBase64, generatePodSignatureHeader, resolvePodUrls };
3412
+ export { type AccessLevel, type AddCommentParams, type AddContentParams, type AddCustomPostParams, type AddCustomPostResponse, type AddProductParams, type ApiPageLink, type ApiPageList, type ApiSimplePageList, type ArchiveParams, type ArchiveProductParams, type BatchPublishParams, type BatchPublishProductParams, type BatchUnpublishParams, type BatchUnpublishProductParams, type Business, type CachePolicy, CaptchaService, type CaptchaServiceOptions, type CheckCaptchaOptions, type CheckCaptchaResponse, CmsDataFormatter, type CmsMetadata, CmsProductService, type CmsProductServiceOptions, type CmsRequestOptions, CmsService, type CmsServiceOptions, CmsTagService, type CmsTagServiceOptions, type CommentItem, type ContentBody, type CreateFolderParams, type CreateLinkParams, type CreateTagCategoryParams, type CreateTagTreeItemParams, type CreateUserGroupParams, type CreateWorkspaceParams, type CustomPostCrudConfig, CustomPostCrudService, type CustomPostItem, CustomPostService, type CustomPostServiceOptions, DEFAULT_POD_URLS, type DownloadFileParams, type DownloadImageParams, type DownloadThumbnailParams, type DownloadZipParams, type EditContentParams, type EditProductParams, type FileVersion, type FinalizeResumableParams, type FormattedGetContentResponse, type FormattedGetProductResponse, type FormattedProductSubject, type FormattedSubject, type GenerateCaptchaResponse, type GetBookmarksParams, type GetCategoriesParams, type GetCategoryResponse, type GetCommentListParams, type GetCommentsParams, type GetContentByEntityIdParams, type GetContentParams, type GetContentResponse, type GetCustomPostParams, type GetCustomPostResponse, type GetFolderChildrenParams, type GetInfOfGraduatedByGraduateDateResponse, type GetProductByEntityIdParams, type GetProductParams, type GetProductResponse, type GetReactionsParams, type GetSessionClassInCurrentDayResponse, type GetTagCategoriesResponse, type GetTagTreeParams, type GetTagTreeResponse, type GetUploadLinkParams, type HandshakeResponse, type IumsResponse, IumsService, type IumsServiceOptions, type LikeCommentParams, type LikePostParams, type MakePublicParams, type MetaContent, type Metadata, NotificationService, type NotificationServiceOptions, type PaginationParams, type PodFormCreationDto, type PodFormDownloadLinkParams, type PodFormExportParams, type PodFormField, type PodFormFolderDto, type PodFormGetParams, type PodFormId, type PodFormItem, type PodFormJson, type PodFormListParams, type PodFormOtpParams, type PodFormPaymentListParams, type PodFormPreviewParams, type PodFormRequestOptions, type PodFormResponse, type PodFormResponseCreationDto, type PodFormResponseInitiationDto, type PodFormResponseListParams, PodFormService, type PodFormServiceOptions, type PodFormSettingsUpdateDto, type PodFormTemplateDto, type PodFormUpdateDto, type PodResponse, PodSdk, type PodSdkConfig, type PodUrlsConfig, PodspaceBookmarksService, type PodspaceBookmarksServiceOptions, PodspaceFilesService, type PodspaceFilesServiceOptions, PodspaceFoldersService, type PodspaceFoldersServiceOptions, PodspaceLinksService, type PodspaceLinksServiceOptions, PodspaceMeService, type PodspaceMeServiceOptions, PodspaceMetadataService, type PodspaceMetadataServiceOptions, type PodspaceRequestOptions, type PodspaceRestResponse, PodspaceResumableService, type PodspaceResumableServiceOptions, PodspaceService, type PodspaceServiceOptions, PodspaceSharesService, type PodspaceSharesServiceOptions, PodspaceTagsService, type PodspaceTagsServiceOptions, PodspaceTrashService, type PodspaceTrashServiceOptions, PodspaceUploadDownloadService, type PodspaceUploadDownloadServiceOptions, type PodspaceUploadResponse, type PodspaceUploadResult, type PodspaceUser, PodspaceUserGroupsService, type PodspaceUserGroupsServiceOptions, PodspaceWorkspacesService, type PodspaceWorkspacesServiceOptions, type ProductBody, type ProductItem, type ProductItemWithFormatted, type Rate, type ReplaceFileParams, type ResultItem, type ResultItemWithFormatted, SANDBOX_POD_URLS, type SearchFilesParams, type SearchTimelineByMetadataParam, type SearchTimelineParamMetaQuery, type SearchTimelineResponse, type SearchTimelineResultItem, type SendOtpOptions, type SendSmsParams, type SendSmsResponse, type SeoType, type Share, type ShareAccess, type ShareEntityParams, type ShareType, type SocialResponse, SocialService, type SocialServiceOptions, type SpaceEntity, type SpaceFile, type SpaceFolder, SsoService, type SsoServiceOptions, type SsoUserProfile, type Subject, type TagCategoryItem, type TagCategoryListParams, type TagTreeAncestorsParams, type TagTreeMetadata, type TagtreesType, type ThumbnailStatus, type TimelineResponse, type TimelineSearchBody, type TokenResponse, type UpdateCustomPostParams, type UpdateLinkParams, type UpdateTagCategoryParams, type UpdateTagTreeItemParams, type UpdateWorkspaceParams, type UploadFileParams, type UploadImageBase64Params, type UploadMultipleFilesParams, type UserGroup, type UserPlan, type UserPostInfo, type UserUsageReport, type VerifyResponse, type Workspace, type WorkspaceMember, createPodSdk, PodSdk as default, encodeBase64, generatePodSignatureHeader, resolvePodUrls };