@xemahq/space-registry-internal-api-client 0.2.10 → 0.2.12

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.
@@ -0,0 +1,2 @@
1
+ export declare const getContributionSyncControllerSyncUrl: () => string;
2
+ export declare const contributionSyncControllerSync: (options?: RequestInit) => Promise<void>;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.contributionSyncControllerSync = exports.getContributionSyncControllerSyncUrl = void 0;
4
+ /**
5
+ * Generated by @xemahq/api-client-generator — do not edit manually.
6
+ * Space Registry API
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ const custom_fetch_1 = require("../../custom-fetch");
10
+ const getContributionSyncControllerSyncUrl = () => {
11
+ return `/contributions/sync`;
12
+ };
13
+ exports.getContributionSyncControllerSyncUrl = getContributionSyncControllerSyncUrl;
14
+ const contributionSyncControllerSync = async (options) => {
15
+ return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncControllerSyncUrl)(), {
16
+ ...options,
17
+ method: 'PUT'
18
+ });
19
+ };
20
+ exports.contributionSyncControllerSync = contributionSyncControllerSync;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig, type RetryNotice } from './custom-fetch';
2
2
  export * from './models';
3
3
  export * from './endpoints/capabilities/capabilities';
4
+ export * from './endpoints/contribution-sync/contribution-sync';
4
5
  export * from './endpoints/org-erasure/org-erasure';
5
6
  export * from './endpoints/resource-role-bindings-internal/resource-role-bindings-internal';
6
7
  export * from './endpoints/spaces/spaces';
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "ClientError", { enumerable: true, get: function
23
23
  Object.defineProperty(exports, "customFetch", { enumerable: true, get: function () { return custom_fetch_1.customFetch; } });
24
24
  __exportStar(require("./models"), exports);
25
25
  __exportStar(require("./endpoints/capabilities/capabilities"), exports);
26
+ __exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
26
27
  __exportStar(require("./endpoints/org-erasure/org-erasure"), exports);
27
28
  __exportStar(require("./endpoints/resource-role-bindings-internal/resource-role-bindings-internal"), exports);
28
29
  __exportStar(require("./endpoints/spaces/spaces"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/space-registry-internal-api-client",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [