@saritasa/crm-delmar-core-sdk 0.0.158 → 0.0.159

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.
@@ -1512,63 +1512,6 @@ class ClientsApiService {
1512
1512
  reportProgress: reportProgress,
1513
1513
  });
1514
1514
  }
1515
- clientsDestroy(requestParameters, observe = "body", reportProgress = false, options) {
1516
- const id = requestParameters?.id;
1517
- if (id === null || id === undefined) {
1518
- throw new Error("Required parameter id was null or undefined when calling clientsDestroy.");
1519
- }
1520
- let localVarHeaders = this.defaultHeaders;
1521
- let localVarCredential;
1522
- // authentication (cookieAuth) required
1523
- localVarCredential = this.configuration.lookupCredential("cookieAuth");
1524
- if (localVarCredential) {
1525
- }
1526
- // authentication (jwtAuth) required
1527
- localVarCredential = this.configuration.lookupCredential("jwtAuth");
1528
- if (localVarCredential) {
1529
- localVarHeaders = localVarHeaders.set("Authorization", "Bearer " + localVarCredential);
1530
- }
1531
- let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
1532
- if (localVarHttpHeaderAcceptSelected === undefined) {
1533
- // to determine the Accept header
1534
- const httpHeaderAccepts = ["application/json"];
1535
- localVarHttpHeaderAcceptSelected =
1536
- this.configuration.selectHeaderAccept(httpHeaderAccepts);
1537
- }
1538
- if (localVarHttpHeaderAcceptSelected !== undefined) {
1539
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1540
- }
1541
- let localVarHttpContext = options && options.context;
1542
- if (localVarHttpContext === undefined) {
1543
- localVarHttpContext = new HttpContext();
1544
- }
1545
- let localVarTransferCache = options && options.transferCache;
1546
- if (localVarTransferCache === undefined) {
1547
- localVarTransferCache = true;
1548
- }
1549
- let responseType_ = "json";
1550
- if (localVarHttpHeaderAcceptSelected) {
1551
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1552
- responseType_ = "text";
1553
- }
1554
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1555
- responseType_ = "json";
1556
- }
1557
- else {
1558
- responseType_ = "blob";
1559
- }
1560
- }
1561
- let localVarPath = `/api/v1/clients/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/`;
1562
- return this.httpClient.request("delete", `${this.configuration.basePath}${localVarPath}`, {
1563
- context: localVarHttpContext,
1564
- responseType: responseType_,
1565
- withCredentials: this.configuration.withCredentials,
1566
- headers: localVarHeaders,
1567
- observe: observe,
1568
- transferCache: localVarTransferCache,
1569
- reportProgress: reportProgress,
1570
- });
1571
- }
1572
1515
  clientsList(requestParameters, observe = "body", reportProgress = false, options) {
1573
1516
  const accountManager = requestParameters?.accountManager;
1574
1517
  const accountManagerIn = requestParameters?.accountManagerIn;