@inweb/client 25.8.22 → 25.9.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/README.md +1 -1
- package/dist/client.js +254 -4
- package/dist/client.js.map +1 -1
- package/dist/client.min.js +1 -1
- package/dist/client.module.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`Client.js` is a JavaScript library implementing the REST API client for [Open Cloud Server](https://cloud.opendesign.com/docs/index.html#/opencloud_server).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Core capabilities:
|
|
6
6
|
|
|
7
7
|
- Register on the server as a new user.
|
|
8
8
|
- Create new and manage existing user accounts.
|
package/dist/client.js
CHANGED
|
@@ -482,6 +482,27 @@
|
|
|
482
482
|
.toUpperCase();
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
486
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
487
|
+
// All rights reserved.
|
|
488
|
+
//
|
|
489
|
+
// This software and its documentation and related materials are owned by
|
|
490
|
+
// the Alliance. The software may only be incorporated into application
|
|
491
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
492
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
493
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
494
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
495
|
+
// protected by copyright law and international treaty provisions. Application
|
|
496
|
+
// programs incorporating this software must include the following statement
|
|
497
|
+
// with their copyright notices:
|
|
498
|
+
//
|
|
499
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
500
|
+
// license agreement with Open Design Alliance.
|
|
501
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
502
|
+
// All rights reserved.
|
|
503
|
+
//
|
|
504
|
+
// By use of this software, its documentation or related materials, you
|
|
505
|
+
// acknowledge and accept the above terms.
|
|
485
506
|
///////////////////////////////////////////////////////////////////////////////
|
|
486
507
|
/**
|
|
487
508
|
* Provides properties and methods for obtaining information about a file/assembly clash detection test.
|
|
@@ -707,6 +728,27 @@
|
|
|
707
728
|
}
|
|
708
729
|
}
|
|
709
730
|
|
|
731
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
732
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
733
|
+
// All rights reserved.
|
|
734
|
+
//
|
|
735
|
+
// This software and its documentation and related materials are owned by
|
|
736
|
+
// the Alliance. The software may only be incorporated into application
|
|
737
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
738
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
739
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
740
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
741
|
+
// protected by copyright law and international treaty provisions. Application
|
|
742
|
+
// programs incorporating this software must include the following statement
|
|
743
|
+
// with their copyright notices:
|
|
744
|
+
//
|
|
745
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
746
|
+
// license agreement with Open Design Alliance.
|
|
747
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
748
|
+
// All rights reserved.
|
|
749
|
+
//
|
|
750
|
+
// By use of this software, its documentation or related materials, you
|
|
751
|
+
// acknowledge and accept the above terms.
|
|
710
752
|
///////////////////////////////////////////////////////////////////////////////
|
|
711
753
|
/**
|
|
712
754
|
* Provides properties and methods for obtaining information about an assembly on the server
|
|
@@ -1295,6 +1337,27 @@
|
|
|
1295
1337
|
}
|
|
1296
1338
|
}
|
|
1297
1339
|
|
|
1340
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
1341
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
1342
|
+
// All rights reserved.
|
|
1343
|
+
//
|
|
1344
|
+
// This software and its documentation and related materials are owned by
|
|
1345
|
+
// the Alliance. The software may only be incorporated into application
|
|
1346
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
1347
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
1348
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
1349
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
1350
|
+
// protected by copyright law and international treaty provisions. Application
|
|
1351
|
+
// programs incorporating this software must include the following statement
|
|
1352
|
+
// with their copyright notices:
|
|
1353
|
+
//
|
|
1354
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
1355
|
+
// license agreement with Open Design Alliance.
|
|
1356
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
1357
|
+
// All rights reserved.
|
|
1358
|
+
//
|
|
1359
|
+
// By use of this software, its documentation or related materials, you
|
|
1360
|
+
// acknowledge and accept the above terms.
|
|
1298
1361
|
///////////////////////////////////////////////////////////////////////////////
|
|
1299
1362
|
function handleFetchError(response) {
|
|
1300
1363
|
if (!response.ok) {
|
|
@@ -1350,6 +1413,27 @@
|
|
|
1350
1413
|
return fetch(url, init).then(handleFetchError);
|
|
1351
1414
|
}
|
|
1352
1415
|
|
|
1416
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
1417
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
1418
|
+
// All rights reserved.
|
|
1419
|
+
//
|
|
1420
|
+
// This software and its documentation and related materials are owned by
|
|
1421
|
+
// the Alliance. The software may only be incorporated into application
|
|
1422
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
1423
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
1424
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
1425
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
1426
|
+
// protected by copyright law and international treaty provisions. Application
|
|
1427
|
+
// programs incorporating this software must include the following statement
|
|
1428
|
+
// with their copyright notices:
|
|
1429
|
+
//
|
|
1430
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
1431
|
+
// license agreement with Open Design Alliance.
|
|
1432
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
1433
|
+
// All rights reserved.
|
|
1434
|
+
//
|
|
1435
|
+
// By use of this software, its documentation or related materials, you
|
|
1436
|
+
// acknowledge and accept the above terms.
|
|
1353
1437
|
///////////////////////////////////////////////////////////////////////////////
|
|
1354
1438
|
function handleXMLHttpError(xhr) {
|
|
1355
1439
|
if (xhr.status === 0) {
|
|
@@ -1389,6 +1473,27 @@
|
|
|
1389
1473
|
});
|
|
1390
1474
|
}
|
|
1391
1475
|
|
|
1476
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
1477
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
1478
|
+
// All rights reserved.
|
|
1479
|
+
//
|
|
1480
|
+
// This software and its documentation and related materials are owned by
|
|
1481
|
+
// the Alliance. The software may only be incorporated into application
|
|
1482
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
1483
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
1484
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
1485
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
1486
|
+
// protected by copyright law and international treaty provisions. Application
|
|
1487
|
+
// programs incorporating this software must include the following statement
|
|
1488
|
+
// with their copyright notices:
|
|
1489
|
+
//
|
|
1490
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
1491
|
+
// license agreement with Open Design Alliance.
|
|
1492
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
1493
|
+
// All rights reserved.
|
|
1494
|
+
//
|
|
1495
|
+
// By use of this software, its documentation or related materials, you
|
|
1496
|
+
// acknowledge and accept the above terms.
|
|
1392
1497
|
///////////////////////////////////////////////////////////////////////////////
|
|
1393
1498
|
class HttpClient {
|
|
1394
1499
|
constructor(serverUrl) {
|
|
@@ -1653,6 +1758,27 @@
|
|
|
1653
1758
|
}
|
|
1654
1759
|
}
|
|
1655
1760
|
|
|
1761
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
1762
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
1763
|
+
// All rights reserved.
|
|
1764
|
+
//
|
|
1765
|
+
// This software and its documentation and related materials are owned by
|
|
1766
|
+
// the Alliance. The software may only be incorporated into application
|
|
1767
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
1768
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
1769
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
1770
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
1771
|
+
// protected by copyright law and international treaty provisions. Application
|
|
1772
|
+
// programs incorporating this software must include the following statement
|
|
1773
|
+
// with their copyright notices:
|
|
1774
|
+
//
|
|
1775
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
1776
|
+
// license agreement with Open Design Alliance.
|
|
1777
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
1778
|
+
// All rights reserved.
|
|
1779
|
+
//
|
|
1780
|
+
// By use of this software, its documentation or related materials, you
|
|
1781
|
+
// acknowledge and accept the above terms.
|
|
1656
1782
|
///////////////////////////////////////////////////////////////////////////////
|
|
1657
1783
|
/**
|
|
1658
1784
|
* Provides properties and methods for obtaining information about a job on the server.
|
|
@@ -1847,6 +1973,27 @@
|
|
|
1847
1973
|
}
|
|
1848
1974
|
}
|
|
1849
1975
|
|
|
1976
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
1977
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
1978
|
+
// All rights reserved.
|
|
1979
|
+
//
|
|
1980
|
+
// This software and its documentation and related materials are owned by
|
|
1981
|
+
// the Alliance. The software may only be incorporated into application
|
|
1982
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
1983
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
1984
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
1985
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
1986
|
+
// protected by copyright law and international treaty provisions. Application
|
|
1987
|
+
// programs incorporating this software must include the following statement
|
|
1988
|
+
// with their copyright notices:
|
|
1989
|
+
//
|
|
1990
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
1991
|
+
// license agreement with Open Design Alliance.
|
|
1992
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
1993
|
+
// All rights reserved.
|
|
1994
|
+
//
|
|
1995
|
+
// By use of this software, its documentation or related materials, you
|
|
1996
|
+
// acknowledge and accept the above terms.
|
|
1850
1997
|
///////////////////////////////////////////////////////////////////////////////
|
|
1851
1998
|
/**
|
|
1852
1999
|
* Provides properties and methods for obtaining information about a file on the server and
|
|
@@ -2824,6 +2971,27 @@
|
|
|
2824
2971
|
}
|
|
2825
2972
|
}
|
|
2826
2973
|
|
|
2974
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
2975
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
2976
|
+
// All rights reserved.
|
|
2977
|
+
//
|
|
2978
|
+
// This software and its documentation and related materials are owned by
|
|
2979
|
+
// the Alliance. The software may only be incorporated into application
|
|
2980
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
2981
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
2982
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
2983
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
2984
|
+
// protected by copyright law and international treaty provisions. Application
|
|
2985
|
+
// programs incorporating this software must include the following statement
|
|
2986
|
+
// with their copyright notices:
|
|
2987
|
+
//
|
|
2988
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
2989
|
+
// license agreement with Open Design Alliance.
|
|
2990
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
2991
|
+
// All rights reserved.
|
|
2992
|
+
//
|
|
2993
|
+
// By use of this software, its documentation or related materials, you
|
|
2994
|
+
// acknowledge and accept the above terms.
|
|
2827
2995
|
///////////////////////////////////////////////////////////////////////////////
|
|
2828
2996
|
/**
|
|
2829
2997
|
* Provides properties and methods for obtaining information about a {@link User | user} who has
|
|
@@ -2939,6 +3107,27 @@
|
|
|
2939
3107
|
}
|
|
2940
3108
|
}
|
|
2941
3109
|
|
|
3110
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
3111
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
3112
|
+
// All rights reserved.
|
|
3113
|
+
//
|
|
3114
|
+
// This software and its documentation and related materials are owned by
|
|
3115
|
+
// the Alliance. The software may only be incorporated into application
|
|
3116
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
3117
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
3118
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
3119
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
3120
|
+
// protected by copyright law and international treaty provisions. Application
|
|
3121
|
+
// programs incorporating this software must include the following statement
|
|
3122
|
+
// with their copyright notices:
|
|
3123
|
+
//
|
|
3124
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
3125
|
+
// license agreement with Open Design Alliance.
|
|
3126
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
3127
|
+
// All rights reserved.
|
|
3128
|
+
//
|
|
3129
|
+
// By use of this software, its documentation or related materials, you
|
|
3130
|
+
// acknowledge and accept the above terms.
|
|
2942
3131
|
///////////////////////////////////////////////////////////////////////////////
|
|
2943
3132
|
/**
|
|
2944
3133
|
* Provides properties and methods for obtaining information about a project on the server and
|
|
@@ -3336,6 +3525,27 @@
|
|
|
3336
3525
|
}
|
|
3337
3526
|
}
|
|
3338
3527
|
|
|
3528
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
3529
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
3530
|
+
// All rights reserved.
|
|
3531
|
+
//
|
|
3532
|
+
// This software and its documentation and related materials are owned by
|
|
3533
|
+
// the Alliance. The software may only be incorporated into application
|
|
3534
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
3535
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
3536
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
3537
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
3538
|
+
// protected by copyright law and international treaty provisions. Application
|
|
3539
|
+
// programs incorporating this software must include the following statement
|
|
3540
|
+
// with their copyright notices:
|
|
3541
|
+
//
|
|
3542
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
3543
|
+
// license agreement with Open Design Alliance.
|
|
3544
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
3545
|
+
// All rights reserved.
|
|
3546
|
+
//
|
|
3547
|
+
// By use of this software, its documentation or related materials, you
|
|
3548
|
+
// acknowledge and accept the above terms.
|
|
3339
3549
|
///////////////////////////////////////////////////////////////////////////////
|
|
3340
3550
|
/**
|
|
3341
3551
|
* Provides properties and methods for obtaining information about a server user and manage its data.
|
|
@@ -3724,6 +3934,27 @@
|
|
|
3724
3934
|
}
|
|
3725
3935
|
}
|
|
3726
3936
|
|
|
3937
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
3938
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
3939
|
+
// All rights reserved.
|
|
3940
|
+
//
|
|
3941
|
+
// This software and its documentation and related materials are owned by
|
|
3942
|
+
// the Alliance. The software may only be incorporated into application
|
|
3943
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
3944
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
3945
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
3946
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
3947
|
+
// protected by copyright law and international treaty provisions. Application
|
|
3948
|
+
// programs incorporating this software must include the following statement
|
|
3949
|
+
// with their copyright notices:
|
|
3950
|
+
//
|
|
3951
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
3952
|
+
// license agreement with Open Design Alliance.
|
|
3953
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
3954
|
+
// All rights reserved.
|
|
3955
|
+
//
|
|
3956
|
+
// By use of this software, its documentation or related materials, you
|
|
3957
|
+
// acknowledge and accept the above terms.
|
|
3727
3958
|
///////////////////////////////////////////////////////////////////////////////
|
|
3728
3959
|
/**
|
|
3729
3960
|
* Provides methods for managing server resources such as users, files, assemblies, jobs, projects, etc.
|
|
@@ -3831,7 +4062,7 @@
|
|
|
3831
4062
|
.then((data) => ({
|
|
3832
4063
|
...data,
|
|
3833
4064
|
server: data.version,
|
|
3834
|
-
client: "25.
|
|
4065
|
+
client: "25.9.0",
|
|
3835
4066
|
}));
|
|
3836
4067
|
}
|
|
3837
4068
|
/**
|
|
@@ -4525,7 +4756,28 @@
|
|
|
4525
4756
|
}
|
|
4526
4757
|
|
|
4527
4758
|
///////////////////////////////////////////////////////////////////////////////
|
|
4528
|
-
|
|
4759
|
+
// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
|
|
4760
|
+
// All rights reserved.
|
|
4761
|
+
//
|
|
4762
|
+
// This software and its documentation and related materials are owned by
|
|
4763
|
+
// the Alliance. The software may only be incorporated into application
|
|
4764
|
+
// programs owned by members of the Alliance, subject to a signed
|
|
4765
|
+
// Membership Agreement and Supplemental Software License Agreement with the
|
|
4766
|
+
// Alliance. The structure and organization of this software are the valuable
|
|
4767
|
+
// trade secrets of the Alliance and its suppliers. The software is also
|
|
4768
|
+
// protected by copyright law and international treaty provisions. Application
|
|
4769
|
+
// programs incorporating this software must include the following statement
|
|
4770
|
+
// with their copyright notices:
|
|
4771
|
+
//
|
|
4772
|
+
// This application incorporates Open Design Alliance software pursuant to a
|
|
4773
|
+
// license agreement with Open Design Alliance.
|
|
4774
|
+
// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
|
|
4775
|
+
// All rights reserved.
|
|
4776
|
+
//
|
|
4777
|
+
// By use of this software, its documentation or related materials, you
|
|
4778
|
+
// acknowledge and accept the above terms.
|
|
4779
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
4780
|
+
const version = "25.9.0";
|
|
4529
4781
|
|
|
4530
4782
|
exports.Assembly = Assembly;
|
|
4531
4783
|
exports.ClashTest = ClashTest;
|
|
@@ -4546,7 +4798,5 @@
|
|
|
4546
4798
|
exports.version = version;
|
|
4547
4799
|
exports.waitFor = waitFor;
|
|
4548
4800
|
|
|
4549
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4550
|
-
|
|
4551
4801
|
}));
|
|
4552
4802
|
//# sourceMappingURL=client.js.map
|