@pantechdynamic/sdk 0.6.0 → 0.6.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 +15 -0
- package/README.md +8 -4
- package/dist/index.cjs +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11104 -10953
- package/dist/index.d.ts +11104 -10953
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1516,17 +1516,24 @@ var CloudConnections = class extends APIResource {
|
|
|
1516
1516
|
return this._delete(path`/cloud-connections/${connectionId}`, options);
|
|
1517
1517
|
}
|
|
1518
1518
|
/**
|
|
1519
|
-
*
|
|
1520
|
-
*
|
|
1521
|
-
*
|
|
1522
|
-
*
|
|
1519
|
+
* A one-time enrollment code for the connection's Pantech Migrate agent,
|
|
1520
|
+
* valid once for an hour and shown only in this response. Any connection may
|
|
1521
|
+
* have an agent: on AWS, Google Cloud, Azure and Huawei Cloud it runs server
|
|
1522
|
+
* copies, database imports and Kubernetes moves (Pantech scans those clouds
|
|
1523
|
+
* itself); on the other clouds it scans too. A connection has one agent, so
|
|
1524
|
+
* using the code replaces the earlier one. Run its `enroll_command` where the
|
|
1525
|
+
* agent will run. Each call issues a new code (replacing any unused one), so
|
|
1526
|
+
* it is sent once and not retried.
|
|
1523
1527
|
*/
|
|
1524
1528
|
enrollAgent(connectionId, options) {
|
|
1525
1529
|
return this._post(path`/cloud-connections/${connectionId}/agent-enrollments`, void 0, options, {
|
|
1526
1530
|
noRetry: true
|
|
1527
1531
|
});
|
|
1528
1532
|
}
|
|
1529
|
-
/**
|
|
1533
|
+
/**
|
|
1534
|
+
* Ends the connection's agent at once, and any server copy upload it was
|
|
1535
|
+
* running; the connection waits for a new one. Revoking again changes nothing.
|
|
1536
|
+
*/
|
|
1530
1537
|
revokeAgent(connectionId, options) {
|
|
1531
1538
|
return this._delete(path`/cloud-connections/${connectionId}/agent`, options);
|
|
1532
1539
|
}
|
|
@@ -2486,7 +2493,7 @@ var WebhookDeliveries = class extends APIResource {
|
|
|
2486
2493
|
};
|
|
2487
2494
|
|
|
2488
2495
|
// src/version.ts
|
|
2489
|
-
var VERSION = "0.6.
|
|
2496
|
+
var VERSION = "0.6.1";
|
|
2490
2497
|
|
|
2491
2498
|
// src/client.ts
|
|
2492
2499
|
var DEFAULT_BASE_URL = "https://api.pantechdynamics.com/public/v1";
|