spitfirepm 23.9700.14 → 23.9700.16
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/README.md +3 -1
- package/dist/SwaggerClients.d.ts +24 -1
- package/dist/SwaggerClients.js +8 -3
- package/dist/SwaggerClients.js.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,9 @@ apiResult.then( (a) => {
|
|
|
25
25
|
### Change Log
|
|
26
26
|
|
|
27
27
|
```
|
|
28
|
-
23.9700.
|
|
28
|
+
23.9700.16 - Additional Project List fields
|
|
29
|
+
23.9700.15 - Add Contact refined
|
|
30
|
+
23.9700.14 - MakeAttachmentPDF endpoint
|
|
29
31
|
23.9700.12 - Additional VisitorSettings and XTS support
|
|
30
32
|
23.9700.11 - ContactClient Delete Photo
|
|
31
33
|
23.9700.10 - QueryCatalog and improve Attachment and Contact endpoints
|
package/dist/SwaggerClients.d.ts
CHANGED
|
@@ -1632,8 +1632,9 @@ export declare class ContactClient extends APIClientBase {
|
|
|
1632
1632
|
* @param newData Contact Data
|
|
1633
1633
|
* @param project (optional) Optional Project Contact
|
|
1634
1634
|
* @param isCompany (optional) Optional is Primary Company Contact
|
|
1635
|
+
* @param quickAdd (optional) Optional; false when the add is deliberate rather than on-the-fly, so the contact does not join the Quick Add role
|
|
1635
1636
|
*/
|
|
1636
|
-
addContact(newData: Contact, project?: string | null | undefined, isCompany?: boolean | undefined): Promise<Contact | null>;
|
|
1637
|
+
addContact(newData: Contact, project?: string | null | undefined, isCompany?: boolean | undefined, quickAdd?: boolean | undefined): Promise<Contact | null>;
|
|
1637
1638
|
private addContactWithCallbacks;
|
|
1638
1639
|
private processAddContactWithCallbacks;
|
|
1639
1640
|
protected processAddContact(xhr: any): Contact | null | null;
|
|
@@ -8465,6 +8466,28 @@ export interface ProjectSummary {
|
|
|
8465
8466
|
ImageKey?: string;
|
|
8466
8467
|
/** TRUE if this project is on the user list */
|
|
8467
8468
|
UserList?: boolean;
|
|
8469
|
+
/** Project Type code from Project Setup */
|
|
8470
|
+
ProjectType?: string | undefined;
|
|
8471
|
+
/** Web cam URL from Project Setup */
|
|
8472
|
+
WebCamURL?: string | undefined;
|
|
8473
|
+
/** TRUE if the project has a cloud store (cldStoreKey) */
|
|
8474
|
+
IsInCloud?: boolean;
|
|
8475
|
+
/** Source document number of the Project Setup document */
|
|
8476
|
+
SourceDocNo?: string | undefined;
|
|
8477
|
+
/** External document number of the Project Setup document */
|
|
8478
|
+
ExternalDocNo?: string | undefined;
|
|
8479
|
+
/** Due date of the Project Setup document */
|
|
8480
|
+
Due?: Date;
|
|
8481
|
+
/** Signoff date of the Project Setup document */
|
|
8482
|
+
Signoff?: Date;
|
|
8483
|
+
/** Source date of the Project Setup document */
|
|
8484
|
+
SourceDate?: Date;
|
|
8485
|
+
/** Project subtype from Project Setup */
|
|
8486
|
+
Subtype?: string | undefined;
|
|
8487
|
+
/** Area from Project Setup */
|
|
8488
|
+
Area?: number;
|
|
8489
|
+
/** Architect project number from the current Project Setup revision */
|
|
8490
|
+
ArchProject?: string | undefined;
|
|
8468
8491
|
/** eTag */
|
|
8469
8492
|
ETag?: string | undefined;
|
|
8470
8493
|
}
|
package/dist/SwaggerClients.js
CHANGED
|
@@ -15117,13 +15117,14 @@ class ContactClient extends APIClientBase_1.APIClientBase {
|
|
|
15117
15117
|
* @param newData Contact Data
|
|
15118
15118
|
* @param project (optional) Optional Project Contact
|
|
15119
15119
|
* @param isCompany (optional) Optional is Primary Company Contact
|
|
15120
|
+
* @param quickAdd (optional) Optional; false when the add is deliberate rather than on-the-fly, so the contact does not join the Quick Add role
|
|
15120
15121
|
*/
|
|
15121
|
-
addContact(newData, project, isCompany) {
|
|
15122
|
+
addContact(newData, project, isCompany, quickAdd) {
|
|
15122
15123
|
return new Promise((resolve, reject) => {
|
|
15123
|
-
this.addContactWithCallbacks(newData, project, isCompany, (result) => resolve(result), (exception, _reason) => reject(exception));
|
|
15124
|
+
this.addContactWithCallbacks(newData, project, isCompany, quickAdd, (result) => resolve(result), (exception, _reason) => reject(exception));
|
|
15124
15125
|
});
|
|
15125
15126
|
}
|
|
15126
|
-
addContactWithCallbacks(newData, project, isCompany, onSuccess, onFail) {
|
|
15127
|
+
addContactWithCallbacks(newData, project, isCompany, quickAdd, onSuccess, onFail) {
|
|
15127
15128
|
let url_ = this.baseUrl + "/api/contact?";
|
|
15128
15129
|
if (project !== undefined && project !== null)
|
|
15129
15130
|
url_ += "project=" + encodeURIComponent("" + project) + "&";
|
|
@@ -15131,6 +15132,10 @@ class ContactClient extends APIClientBase_1.APIClientBase {
|
|
|
15131
15132
|
throw new globalThis.Error("The parameter 'isCompany' cannot be null.");
|
|
15132
15133
|
else if (isCompany !== undefined)
|
|
15133
15134
|
url_ += "isCompany=" + encodeURIComponent("" + isCompany) + "&";
|
|
15135
|
+
if (quickAdd === null)
|
|
15136
|
+
throw new globalThis.Error("The parameter 'quickAdd' cannot be null.");
|
|
15137
|
+
else if (quickAdd !== undefined)
|
|
15138
|
+
url_ += "quickAdd=" + encodeURIComponent("" + quickAdd) + "&";
|
|
15134
15139
|
url_ = url_.replace(/[?&]$/, "");
|
|
15135
15140
|
const content_ = JSON.stringify(newData);
|
|
15136
15141
|
jQuery.ajax({
|