Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
dynabic-billing-team committed Jan 12, 2024
2 parents 1bb3974 + 5b3ab44 commit 2ecd78d
Show file tree
Hide file tree
Showing 345 changed files with 2,160 additions and 870 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,23 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
- Add & remove watermarks and protection.
- Read & write access to Document Object Model.

## Enhancements in Version 24.1

- Added support for InsertAfterNode in the insert API without NodePath.
- Added support for inserting nodes (runs/rows/cells/bookmarks) without NodePath.
- Added support for transparency in the Watermark API.
- Added support for password and encryptedPassword fields in FileReference.
- Fixed missing href value in document responses.


## Enhancements in Version 23.12

- Properties Name, Text, StartRange, EndRange marked as required for InsertBookmark operation.
- Implemented DeleteOfficeMathObjects operation to delete all office math objects from document.
- Parameter ProtectionRequest was removed from the UnprotectDocument operation. Now removing protection from a document does not require a password.
- Model ProtectionRequest marked as deprecated, please use ProtectionRequestV2 instead for perform ProtectDocument operation. To change the password or protection type of protected document, the old password is no required.
- Added fields Password and EncryptedPassword to FileReference for documents encrypted by password.
- Removed parameter encryptedPassword2 from CompareDocument method. Please use FileReference password instead.


## Enhancements in Version 23.11
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asposewordscloud",
"version": "23.12.0",
"version": "24.1.0",
"description": "Aspose.Words Cloud SDK for Node.js",
"homepage": "https://products.aspose.cloud/words/cloud",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="api.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/internal/attributeInfo.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="attributeInfo.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/internal/auth.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="auth.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/internal/configuration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="configuration.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/internal/objectSerializer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="objectSerializer.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
4 changes: 2 additions & 2 deletions src/internal/requestHelper.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="requestHelper.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -131,7 +131,7 @@ async function invokeApiMethodInternal(requestOptions: request.OptionsWithUri, c
requestOptions.timeout = 1000 * confguration.timeout;

requestOptions.headers["x-aspose-client"] = "nodejs sdk";
requestOptions.headers["x-aspose-client-version"] = "23.12";
requestOptions.headers["x-aspose-client-version"] = "24.1";
requestOptions.encoding = null;

requestOptions.uri = encodeURI(requestOptions.uri.toString());
Expand Down
2 changes: 1 addition & 1 deletion src/model/apiError.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="apiError.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/availableFontsResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="availableFontsResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/baseEntry.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="baseEntry.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/baseEntryList.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="baseEntryList.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/batchPartRequest.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="batchPartRequest.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bmpSaveOptionsData.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bmpSaveOptionsData.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bookmark.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmark.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bookmarkData.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmarkData.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
14 changes: 7 additions & 7 deletions src/model/bookmarkInsert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmarkInsert.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -27,10 +27,10 @@

import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
import { NewDocumentPosition } from './newDocumentPosition';
import { Position } from './position';

export const importsMapBookmarkInsert = {
NewDocumentPosition,
Position,
};

/**
Expand All @@ -54,12 +54,12 @@ export class BookmarkInsert implements ModelInterface {
{
name: "startRange",
baseName: "StartRange",
type: "NewDocumentPosition",
type: "Position",
},
{
name: "endRange",
baseName: "EndRange",
type: "NewDocumentPosition",
type: "Position",
}
];

Expand All @@ -83,12 +83,12 @@ export class BookmarkInsert implements ModelInterface {
/**
* Gets or sets the link to start bookmark node.
*/
public startRange: NewDocumentPosition;
public startRange: Position;

/**
* Gets or sets the link to end bookmark node.
*/
public endRange: NewDocumentPosition;
public endRange: Position;

public constructor(init?: Partial< BookmarkInsert >) {
Object.assign(this, init);
Expand Down
2 changes: 1 addition & 1 deletion src/model/bookmarkResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmarkResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bookmarks.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmarks.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bookmarksOutlineLevelData.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmarksOutlineLevelData.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bookmarksResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bookmarksResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/border.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="border.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/borderResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="borderResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bordersCollection.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bordersCollection.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/bordersResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="bordersResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/classificationResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="classificationResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/classificationResult.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="classificationResult.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/comment.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="comment.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
14 changes: 7 additions & 7 deletions src/model/commentBase.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="commentBase.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -27,10 +27,10 @@

import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
import { NewDocumentPosition } from './newDocumentPosition';
import { PositionInsideNode } from './positionInsideNode';

export const importsMapCommentBase = {
NewDocumentPosition,
PositionInsideNode,
};

/**
Expand All @@ -44,12 +44,12 @@ export abstract class CommentBase implements ModelInterface {
{
name: "rangeStart",
baseName: "RangeStart",
type: "NewDocumentPosition",
type: "PositionInsideNode",
},
{
name: "rangeEnd",
baseName: "RangeEnd",
type: "NewDocumentPosition",
type: "PositionInsideNode",
},
{
name: "author",
Expand Down Expand Up @@ -83,12 +83,12 @@ export abstract class CommentBase implements ModelInterface {
/**
* Gets or sets the link to comment range start node.
*/
public rangeStart: NewDocumentPosition;
public rangeStart: PositionInsideNode;

/**
* Gets or sets the link to comment range end node.
*/
public rangeEnd: NewDocumentPosition;
public rangeEnd: PositionInsideNode;

/**
* Gets or sets the author name for a comment.
Expand Down
2 changes: 1 addition & 1 deletion src/model/commentInsert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="commentInsert.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/commentLink.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="commentLink.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
2 changes: 1 addition & 1 deletion src/model/commentResponse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* --------------------------------------------------------------------------------
* <copyright company="Aspose" file="commentResponse.ts">
* Copyright (c) 2023 Aspose.Words for Cloud
* Copyright (c) 2024 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
Loading

0 comments on commit 2ecd78d

Please sign in to comment.