@rippling/rippling-sdk 0.2.0-alpha.93 → 0.2.0-alpha.95
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/client.d.mts +7 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -1
- package/client.d.ts.map +1 -1
- package/client.js +7 -1
- package/client.js.map +1 -1
- package/client.mjs +7 -1
- package/client.mjs.map +1 -1
- package/examples/manifest/acp-agent/acp-agent.ts +2 -4
- package/lib/manifest/acp-agent.d.mts +10 -3
- package/lib/manifest/acp-agent.d.mts.map +1 -1
- package/lib/manifest/acp-agent.d.ts +10 -3
- package/lib/manifest/acp-agent.d.ts.map +1 -1
- package/lib/manifest/acp-agent.js +2 -2
- package/lib/manifest/acp-agent.js.map +1 -1
- package/lib/manifest/acp-agent.mjs +2 -2
- package/lib/manifest/acp-agent.mjs.map +1 -1
- package/lib/manifest/business-event.d.mts +64 -0
- package/lib/manifest/business-event.d.mts.map +1 -0
- package/lib/manifest/business-event.d.ts +64 -0
- package/lib/manifest/business-event.d.ts.map +1 -0
- package/lib/manifest/business-event.js +64 -0
- package/lib/manifest/business-event.js.map +1 -0
- package/lib/manifest/business-event.mjs +60 -0
- package/lib/manifest/business-event.mjs.map +1 -0
- package/lib/manifest/index.d.mts +3 -2
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +3 -2
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +4 -1
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +1 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/workflow.d.mts +4 -1
- package/lib/manifest/workflow.d.mts.map +1 -1
- package/lib/manifest/workflow.d.ts +4 -1
- package/lib/manifest/workflow.d.ts.map +1 -1
- package/lib/manifest/workflow.js.map +1 -1
- package/lib/manifest/workflow.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/metadata/components.d.mts +1 -242
- package/resources/metadata/components.d.mts.map +1 -1
- package/resources/metadata/components.d.ts +1 -242
- package/resources/metadata/components.d.ts.map +1 -1
- package/resources/metadata/components.js +0 -51
- package/resources/metadata/components.js.map +1 -1
- package/resources/metadata/components.mjs +0 -51
- package/resources/metadata/components.mjs.map +1 -1
- package/resources/metadata/deployment-runs.d.mts +1 -133
- package/resources/metadata/deployment-runs.d.mts.map +1 -1
- package/resources/metadata/deployment-runs.d.ts +1 -133
- package/resources/metadata/deployment-runs.d.ts.map +1 -1
- package/resources/metadata/deployment-runs.js +0 -60
- package/resources/metadata/deployment-runs.js.map +1 -1
- package/resources/metadata/deployment-runs.mjs +0 -60
- package/resources/metadata/deployment-runs.mjs.map +1 -1
- package/resources/metadata/index.d.mts +3 -5
- package/resources/metadata/index.d.mts.map +1 -1
- package/resources/metadata/index.d.ts +3 -5
- package/resources/metadata/index.d.ts.map +1 -1
- package/resources/metadata/index.js +1 -5
- package/resources/metadata/index.js.map +1 -1
- package/resources/metadata/index.mjs +0 -2
- package/resources/metadata/index.mjs.map +1 -1
- package/resources/metadata/metadata.d.mts +6 -14
- package/resources/metadata/metadata.d.mts.map +1 -1
- package/resources/metadata/metadata.d.ts +6 -14
- package/resources/metadata/metadata.d.ts.map +1 -1
- package/resources/metadata/metadata.js +0 -8
- package/resources/metadata/metadata.js.map +1 -1
- package/resources/metadata/metadata.mjs +0 -8
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/metadata/validation-runs.d.mts +1 -133
- package/resources/metadata/validation-runs.d.mts.map +1 -1
- package/resources/metadata/validation-runs.d.ts +1 -133
- package/resources/metadata/validation-runs.d.ts.map +1 -1
- package/resources/metadata/validation-runs.js +0 -60
- package/resources/metadata/validation-runs.js.map +1 -1
- package/resources/metadata/validation-runs.mjs +0 -60
- package/resources/metadata/validation-runs.mjs.map +1 -1
- package/resources/package-upgrades.d.mts +140 -0
- package/resources/package-upgrades.d.mts.map +1 -0
- package/resources/package-upgrades.d.ts +140 -0
- package/resources/package-upgrades.d.ts.map +1 -0
- package/resources/package-upgrades.js +25 -0
- package/resources/package-upgrades.js.map +1 -0
- package/resources/package-upgrades.mjs +21 -0
- package/resources/package-upgrades.mjs.map +1 -0
- package/resources/package-versions.d.mts +63 -1
- package/resources/package-versions.d.mts.map +1 -1
- package/resources/package-versions.d.ts +63 -1
- package/resources/package-versions.d.ts.map +1 -1
- package/resources/package-versions.js +15 -2
- package/resources/package-versions.js.map +1 -1
- package/resources/package-versions.mjs +13 -1
- package/resources/package-versions.mjs.map +1 -1
- package/resources/packages/available-upgrades.d.mts +33 -0
- package/resources/packages/available-upgrades.d.mts.map +1 -0
- package/resources/packages/available-upgrades.d.ts +33 -0
- package/resources/packages/available-upgrades.d.ts.map +1 -0
- package/resources/packages/available-upgrades.js +20 -0
- package/resources/packages/available-upgrades.js.map +1 -0
- package/resources/packages/available-upgrades.mjs +16 -0
- package/resources/packages/available-upgrades.mjs.map +1 -0
- package/resources/packages/index.d.mts +2 -0
- package/resources/packages/index.d.mts.map +1 -1
- package/resources/packages/index.d.ts +2 -0
- package/resources/packages/index.d.ts.map +1 -1
- package/resources/packages/index.js +5 -1
- package/resources/packages/index.js.map +1 -1
- package/resources/packages/index.mjs +2 -0
- package/resources/packages/index.mjs.map +1 -1
- package/resources/{package-versions → packages}/next-versions.d.mts +3 -3
- package/resources/packages/next-versions.d.mts.map +1 -0
- package/resources/{package-versions → packages}/next-versions.d.ts +3 -3
- package/resources/packages/next-versions.d.ts.map +1 -0
- package/resources/{package-versions → packages}/next-versions.js +4 -4
- package/resources/packages/next-versions.js.map +1 -0
- package/resources/{package-versions → packages}/next-versions.mjs +4 -4
- package/resources/packages/next-versions.mjs.map +1 -0
- package/resources/packages/packages.d.mts +8 -0
- package/resources/packages/packages.d.mts.map +1 -1
- package/resources/packages/packages.d.ts +8 -0
- package/resources/packages/packages.d.ts.map +1 -1
- package/resources/packages/packages.js +8 -0
- package/resources/packages/packages.js.map +1 -1
- package/resources/packages/packages.mjs +8 -0
- package/resources/packages/packages.mjs.map +1 -1
- package/src/client.ts +23 -5
- package/src/lib/manifest/acp-agent.ts +18 -6
- package/src/lib/manifest/business-event.ts +72 -0
- package/src/lib/manifest/index.ts +11 -0
- package/src/lib/manifest/workflow.ts +5 -1
- package/src/resources/index.ts +7 -1
- package/src/resources/metadata/components.ts +0 -281
- package/src/resources/metadata/deployment-runs.ts +0 -170
- package/src/resources/metadata/index.ts +0 -16
- package/src/resources/metadata/metadata.ts +0 -38
- package/src/resources/metadata/validation-runs.ts +0 -170
- package/src/resources/package-upgrades.ts +183 -0
- package/src/resources/package-versions.ts +86 -1
- package/src/resources/packages/available-upgrades.ts +51 -0
- package/src/resources/packages/index.ts +6 -0
- package/src/resources/{package-versions → packages}/next-versions.ts +4 -4
- package/src/resources/packages/packages.ts +26 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/metadata/component-schemas.d.mts +0 -93
- package/resources/metadata/component-schemas.d.mts.map +0 -1
- package/resources/metadata/component-schemas.d.ts +0 -93
- package/resources/metadata/component-schemas.d.ts.map +0 -1
- package/resources/metadata/component-schemas.js +0 -28
- package/resources/metadata/component-schemas.js.map +0 -1
- package/resources/metadata/component-schemas.mjs +0 -24
- package/resources/metadata/component-schemas.mjs.map +0 -1
- package/resources/metadata/component-types.d.mts +0 -47
- package/resources/metadata/component-types.d.mts.map +0 -1
- package/resources/metadata/component-types.d.ts +0 -47
- package/resources/metadata/component-types.d.ts.map +0 -1
- package/resources/metadata/component-types.js +0 -27
- package/resources/metadata/component-types.js.map +0 -1
- package/resources/metadata/component-types.mjs +0 -23
- package/resources/metadata/component-types.mjs.map +0 -1
- package/resources/package-versions/index.d.mts +0 -3
- package/resources/package-versions/index.d.mts.map +0 -1
- package/resources/package-versions/index.d.ts +0 -3
- package/resources/package-versions/index.d.ts.map +0 -1
- package/resources/package-versions/index.js +0 -9
- package/resources/package-versions/index.js.map +0 -1
- package/resources/package-versions/index.mjs +0 -4
- package/resources/package-versions/index.mjs.map +0 -1
- package/resources/package-versions/next-versions.d.mts.map +0 -1
- package/resources/package-versions/next-versions.d.ts.map +0 -1
- package/resources/package-versions/next-versions.js.map +0 -1
- package/resources/package-versions/next-versions.mjs.map +0 -1
- package/resources/package-versions/package-versions.d.mts +0 -68
- package/resources/package-versions/package-versions.d.mts.map +0 -1
- package/resources/package-versions/package-versions.d.ts +0 -68
- package/resources/package-versions/package-versions.d.ts.map +0 -1
- package/resources/package-versions/package-versions.js +0 -27
- package/resources/package-versions/package-versions.js.map +0 -1
- package/resources/package-versions/package-versions.mjs +0 -22
- package/resources/package-versions/package-versions.mjs.map +0 -1
- package/src/resources/metadata/component-schemas.ts +0 -109
- package/src/resources/metadata/component-types.ts +0 -56
- package/src/resources/package-versions/index.ts +0 -8
- package/src/resources/package-versions/package-versions.ts +0 -100
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as BusinessPartnersAPI from '../business-partners';
|
|
5
|
+
import * as AvailableUpgradesAPI from './available-upgrades';
|
|
6
|
+
import {
|
|
7
|
+
AvailableUpgradeRetrieveParams,
|
|
8
|
+
AvailableUpgradeRetrieveResponse,
|
|
9
|
+
AvailableUpgrades,
|
|
10
|
+
} from './available-upgrades';
|
|
11
|
+
import * as NextVersionsAPI from './next-versions';
|
|
12
|
+
import { NextVersionCreateParams, NextVersionCreateResponse, NextVersions } from './next-versions';
|
|
5
13
|
import * as VersionsAPI from './versions';
|
|
6
14
|
import { VersionCreateParams, VersionCreateResponse, Versions } from './versions';
|
|
7
15
|
import { APIPromise } from '../../core/api-promise';
|
|
@@ -14,7 +22,11 @@ import { path } from '../../internal/utils/path';
|
|
|
14
22
|
* Author, publish, and install Unity Packages V2 packages
|
|
15
23
|
*/
|
|
16
24
|
export class Packages extends APIResource {
|
|
25
|
+
availableUpgrades: AvailableUpgradesAPI.AvailableUpgrades = new AvailableUpgradesAPI.AvailableUpgrades(
|
|
26
|
+
this._client,
|
|
27
|
+
);
|
|
17
28
|
versions: VersionsAPI.Versions = new VersionsAPI.Versions(this._client);
|
|
29
|
+
nextVersions: NextVersionsAPI.NextVersions = new NextVersionsAPI.NextVersions(this._client);
|
|
18
30
|
|
|
19
31
|
/**
|
|
20
32
|
* A list of package publish.
|
|
@@ -312,7 +324,9 @@ export interface PackageUpdateParams {
|
|
|
312
324
|
description?: string;
|
|
313
325
|
}
|
|
314
326
|
|
|
327
|
+
Packages.AvailableUpgrades = AvailableUpgrades;
|
|
315
328
|
Packages.Versions = Versions;
|
|
329
|
+
Packages.NextVersions = NextVersions;
|
|
316
330
|
|
|
317
331
|
export declare namespace Packages {
|
|
318
332
|
export {
|
|
@@ -326,9 +340,21 @@ export declare namespace Packages {
|
|
|
326
340
|
type PackageUpdateParams as PackageUpdateParams,
|
|
327
341
|
};
|
|
328
342
|
|
|
343
|
+
export {
|
|
344
|
+
AvailableUpgrades as AvailableUpgrades,
|
|
345
|
+
type AvailableUpgradeRetrieveResponse as AvailableUpgradeRetrieveResponse,
|
|
346
|
+
type AvailableUpgradeRetrieveParams as AvailableUpgradeRetrieveParams,
|
|
347
|
+
};
|
|
348
|
+
|
|
329
349
|
export {
|
|
330
350
|
Versions as Versions,
|
|
331
351
|
type VersionCreateResponse as VersionCreateResponse,
|
|
332
352
|
type VersionCreateParams as VersionCreateParams,
|
|
333
353
|
};
|
|
354
|
+
|
|
355
|
+
export {
|
|
356
|
+
NextVersions as NextVersions,
|
|
357
|
+
type NextVersionCreateResponse as NextVersionCreateResponse,
|
|
358
|
+
type NextVersionCreateParams as NextVersionCreateParams,
|
|
359
|
+
};
|
|
334
360
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.95'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.95";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.95";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.95'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.95'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export declare class ComponentSchemas extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Return the JSON schema for one supported metadata component type.
|
|
10
|
-
*
|
|
11
|
-
* Requires the Metadata entitlement.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const componentSchema =
|
|
16
|
-
* await client.metadata.componentSchemas.get({
|
|
17
|
-
* type: 'type',
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
get(query: ComponentSchemaGetParams, options?: RequestOptions): APIPromise<ComponentSchemaGetResponse>;
|
|
22
|
-
}
|
|
23
|
-
export interface ComponentSchemaGetResponse {
|
|
24
|
-
/**
|
|
25
|
-
* JSON Schema for a full deployable component config.
|
|
26
|
-
*/
|
|
27
|
-
config_schema: {
|
|
28
|
-
[key: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* JSON Schema for identifying an existing component.
|
|
32
|
-
*/
|
|
33
|
-
identifier_schema: {
|
|
34
|
-
[key: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Metadata component type.
|
|
38
|
-
*/
|
|
39
|
-
type: string;
|
|
40
|
-
/**
|
|
41
|
-
* Type-specific implementation guidance.
|
|
42
|
-
*/
|
|
43
|
-
best_practices?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Common invalid inputs and their corrections.
|
|
46
|
-
*/
|
|
47
|
-
common_mistakes?: Array<ComponentSchemaGetResponse.CommonMistake>;
|
|
48
|
-
/**
|
|
49
|
-
* Short description of the component type.
|
|
50
|
-
*/
|
|
51
|
-
description?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Human-readable component type name.
|
|
54
|
-
*/
|
|
55
|
-
display_name?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Valid example configs for this component type.
|
|
58
|
-
*/
|
|
59
|
-
examples?: Array<{
|
|
60
|
-
[key: string]: unknown;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* Type-specific authoring guidance.
|
|
64
|
-
*/
|
|
65
|
-
usage_guide?: string;
|
|
66
|
-
[k: string]: unknown;
|
|
67
|
-
}
|
|
68
|
-
export declare namespace ComponentSchemaGetResponse {
|
|
69
|
-
interface CommonMistake {
|
|
70
|
-
/**
|
|
71
|
-
* Explanation of the correction.
|
|
72
|
-
*/
|
|
73
|
-
message: string;
|
|
74
|
-
/**
|
|
75
|
-
* Corrected example.
|
|
76
|
-
*/
|
|
77
|
-
right: string;
|
|
78
|
-
/**
|
|
79
|
-
* Invalid or discouraged example.
|
|
80
|
-
*/
|
|
81
|
-
wrong: string;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
export interface ComponentSchemaGetParams {
|
|
85
|
-
/**
|
|
86
|
-
* Component type returned by list-metadata-component-types.
|
|
87
|
-
*/
|
|
88
|
-
type: string;
|
|
89
|
-
}
|
|
90
|
-
export declare namespace ComponentSchemas {
|
|
91
|
-
export { type ComponentSchemaGetResponse as ComponentSchemaGetResponse, type ComponentSchemaGetParams as ComponentSchemaGetParams, };
|
|
92
|
-
}
|
|
93
|
-
//# sourceMappingURL=component-schemas.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-schemas.d.mts","sourceRoot":"","sources":["../../src/resources/metadata/component-schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGvG;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE1C;;OAEG;IACH,iBAAiB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAElE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,CAAC;IAE7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export declare class ComponentSchemas extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Return the JSON schema for one supported metadata component type.
|
|
10
|
-
*
|
|
11
|
-
* Requires the Metadata entitlement.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const componentSchema =
|
|
16
|
-
* await client.metadata.componentSchemas.get({
|
|
17
|
-
* type: 'type',
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
get(query: ComponentSchemaGetParams, options?: RequestOptions): APIPromise<ComponentSchemaGetResponse>;
|
|
22
|
-
}
|
|
23
|
-
export interface ComponentSchemaGetResponse {
|
|
24
|
-
/**
|
|
25
|
-
* JSON Schema for a full deployable component config.
|
|
26
|
-
*/
|
|
27
|
-
config_schema: {
|
|
28
|
-
[key: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* JSON Schema for identifying an existing component.
|
|
32
|
-
*/
|
|
33
|
-
identifier_schema: {
|
|
34
|
-
[key: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Metadata component type.
|
|
38
|
-
*/
|
|
39
|
-
type: string;
|
|
40
|
-
/**
|
|
41
|
-
* Type-specific implementation guidance.
|
|
42
|
-
*/
|
|
43
|
-
best_practices?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Common invalid inputs and their corrections.
|
|
46
|
-
*/
|
|
47
|
-
common_mistakes?: Array<ComponentSchemaGetResponse.CommonMistake>;
|
|
48
|
-
/**
|
|
49
|
-
* Short description of the component type.
|
|
50
|
-
*/
|
|
51
|
-
description?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Human-readable component type name.
|
|
54
|
-
*/
|
|
55
|
-
display_name?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Valid example configs for this component type.
|
|
58
|
-
*/
|
|
59
|
-
examples?: Array<{
|
|
60
|
-
[key: string]: unknown;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* Type-specific authoring guidance.
|
|
64
|
-
*/
|
|
65
|
-
usage_guide?: string;
|
|
66
|
-
[k: string]: unknown;
|
|
67
|
-
}
|
|
68
|
-
export declare namespace ComponentSchemaGetResponse {
|
|
69
|
-
interface CommonMistake {
|
|
70
|
-
/**
|
|
71
|
-
* Explanation of the correction.
|
|
72
|
-
*/
|
|
73
|
-
message: string;
|
|
74
|
-
/**
|
|
75
|
-
* Corrected example.
|
|
76
|
-
*/
|
|
77
|
-
right: string;
|
|
78
|
-
/**
|
|
79
|
-
* Invalid or discouraged example.
|
|
80
|
-
*/
|
|
81
|
-
wrong: string;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
export interface ComponentSchemaGetParams {
|
|
85
|
-
/**
|
|
86
|
-
* Component type returned by list-metadata-component-types.
|
|
87
|
-
*/
|
|
88
|
-
type: string;
|
|
89
|
-
}
|
|
90
|
-
export declare namespace ComponentSchemas {
|
|
91
|
-
export { type ComponentSchemaGetResponse as ComponentSchemaGetResponse, type ComponentSchemaGetParams as ComponentSchemaGetParams, };
|
|
92
|
-
}
|
|
93
|
-
//# sourceMappingURL=component-schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-schemas.d.ts","sourceRoot":"","sources":["../../src/resources/metadata/component-schemas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;CAGvG;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,aAAa,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE1C;;OAEG;IACH,iBAAiB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAElE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC,CAAC;IAE7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ComponentSchemas = void 0;
|
|
5
|
-
const resource_1 = require("../../core/resource.js");
|
|
6
|
-
/**
|
|
7
|
-
* Custom objects defined by the company
|
|
8
|
-
*/
|
|
9
|
-
class ComponentSchemas extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Return the JSON schema for one supported metadata component type.
|
|
12
|
-
*
|
|
13
|
-
* Requires the Metadata entitlement.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* const componentSchema =
|
|
18
|
-
* await client.metadata.componentSchemas.get({
|
|
19
|
-
* type: 'type',
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
get(query, options) {
|
|
24
|
-
return this._client.get('/metadata/v2/schema/', { query, ...options });
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.ComponentSchemas = ComponentSchemas;
|
|
28
|
-
//# sourceMappingURL=component-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-schemas.js","sourceRoot":"","sources":["../../src/resources/metadata/component-schemas.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,KAA+B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF;AAjBD,4CAiBC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Custom objects defined by the company
|
|
5
|
-
*/
|
|
6
|
-
export class ComponentSchemas extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Return the JSON schema for one supported metadata component type.
|
|
9
|
-
*
|
|
10
|
-
* Requires the Metadata entitlement.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* const componentSchema =
|
|
15
|
-
* await client.metadata.componentSchemas.get({
|
|
16
|
-
* type: 'type',
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
get(query, options) {
|
|
21
|
-
return this._client.get('/metadata/v2/schema/', { query, ...options });
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=component-schemas.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-schemas.mjs","sourceRoot":"","sources":["../../src/resources/metadata/component-schemas.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;OAYG;IACH,GAAG,CAAC,KAA+B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export declare class ComponentTypes extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* List component types that can be described, validated, and deployed by metadata
|
|
10
|
-
* composer.
|
|
11
|
-
*
|
|
12
|
-
* Requires the Metadata entitlement.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const componentTypes =
|
|
17
|
-
* await client.metadata.componentTypes.list();
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
list(options?: RequestOptions): APIPromise<ComponentTypeListResponse>;
|
|
21
|
-
}
|
|
22
|
-
export interface ComponentTypeListResponse {
|
|
23
|
-
/**
|
|
24
|
-
* Composer-enabled metadata component types.
|
|
25
|
-
*/
|
|
26
|
-
types: Array<ComponentTypeListResponse.Type>;
|
|
27
|
-
}
|
|
28
|
-
export declare namespace ComponentTypeListResponse {
|
|
29
|
-
interface Type {
|
|
30
|
-
/**
|
|
31
|
-
* Short description of the component type.
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
* Human-readable component type name.
|
|
36
|
-
*/
|
|
37
|
-
display_name: string;
|
|
38
|
-
/**
|
|
39
|
-
* Metadata component type.
|
|
40
|
-
*/
|
|
41
|
-
type: string;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export declare namespace ComponentTypes {
|
|
45
|
-
export { type ComponentTypeListResponse as ComponentTypeListResponse };
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=component-types.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-types.d.mts","sourceRoot":"","sources":["../../src/resources/metadata/component-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAGtE;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;CACxE"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export declare class ComponentTypes extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* List component types that can be described, validated, and deployed by metadata
|
|
10
|
-
* composer.
|
|
11
|
-
*
|
|
12
|
-
* Requires the Metadata entitlement.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```ts
|
|
16
|
-
* const componentTypes =
|
|
17
|
-
* await client.metadata.componentTypes.list();
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
list(options?: RequestOptions): APIPromise<ComponentTypeListResponse>;
|
|
21
|
-
}
|
|
22
|
-
export interface ComponentTypeListResponse {
|
|
23
|
-
/**
|
|
24
|
-
* Composer-enabled metadata component types.
|
|
25
|
-
*/
|
|
26
|
-
types: Array<ComponentTypeListResponse.Type>;
|
|
27
|
-
}
|
|
28
|
-
export declare namespace ComponentTypeListResponse {
|
|
29
|
-
interface Type {
|
|
30
|
-
/**
|
|
31
|
-
* Short description of the component type.
|
|
32
|
-
*/
|
|
33
|
-
description: string;
|
|
34
|
-
/**
|
|
35
|
-
* Human-readable component type name.
|
|
36
|
-
*/
|
|
37
|
-
display_name: string;
|
|
38
|
-
/**
|
|
39
|
-
* Metadata component type.
|
|
40
|
-
*/
|
|
41
|
-
type: string;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export declare namespace ComponentTypes {
|
|
45
|
-
export { type ComponentTypeListResponse as ComponentTypeListResponse };
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=component-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-types.d.ts","sourceRoot":"","sources":["../../src/resources/metadata/component-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAGtE;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;CAC9C;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;CACxE"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ComponentTypes = void 0;
|
|
5
|
-
const resource_1 = require("../../core/resource.js");
|
|
6
|
-
/**
|
|
7
|
-
* Custom objects defined by the company
|
|
8
|
-
*/
|
|
9
|
-
class ComponentTypes extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* List component types that can be described, validated, and deployed by metadata
|
|
12
|
-
* composer.
|
|
13
|
-
*
|
|
14
|
-
* Requires the Metadata entitlement.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* const componentTypes =
|
|
19
|
-
* await client.metadata.componentTypes.list();
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
list(options) {
|
|
23
|
-
return this._client.get('/metadata/v2/types/', options);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
exports.ComponentTypes = ComponentTypes;
|
|
27
|
-
//# sourceMappingURL=component-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-types.js","sourceRoot":"","sources":["../../src/resources/metadata/component-types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF;AAhBD,wCAgBC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Custom objects defined by the company
|
|
5
|
-
*/
|
|
6
|
-
export class ComponentTypes extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List component types that can be described, validated, and deployed by metadata
|
|
9
|
-
* composer.
|
|
10
|
-
*
|
|
11
|
-
* Requires the Metadata entitlement.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const componentTypes =
|
|
16
|
-
* await client.metadata.componentTypes.list();
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
list(options) {
|
|
20
|
-
return this._client.get('/metadata/v2/types/', options);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=component-types.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-types.mjs","sourceRoot":"","sources":["../../src/resources/metadata/component-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { NextVersions, type NextVersionCreateResponse, type NextVersionCreateParams } from "./next-versions.mjs";
|
|
2
|
-
export { PackageVersions, type PackageVersionUpdateResponse, type PackageVersionUpdateParams, } from "./package-versions.mjs";
|
|
3
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/package-versions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,4BAAwB;AAC7G,OAAO,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,+BAA2B"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { NextVersions, type NextVersionCreateResponse, type NextVersionCreateParams } from "./next-versions.js";
|
|
2
|
-
export { PackageVersions, type PackageVersionUpdateResponse, type PackageVersionUpdateParams, } from "./package-versions.js";
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/package-versions/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,yBAAyB,EAAE,KAAK,uBAAuB,EAAE,2BAAwB;AAC7G,OAAO,EACL,eAAe,EACf,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,8BAA2B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.PackageVersions = exports.NextVersions = void 0;
|
|
5
|
-
var next_versions_1 = require("./next-versions.js");
|
|
6
|
-
Object.defineProperty(exports, "NextVersions", { enumerable: true, get: function () { return next_versions_1.NextVersions; } });
|
|
7
|
-
var package_versions_1 = require("./package-versions.js");
|
|
8
|
-
Object.defineProperty(exports, "PackageVersions", { enumerable: true, get: function () { return package_versions_1.PackageVersions; } });
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/package-versions/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAA6G;AAApG,6GAAA,YAAY,OAAA;AACrB,0DAI4B;AAH1B,mHAAA,eAAe,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/package-versions/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,YAAY,EAAgE,4BAAwB;AAC7G,OAAO,EACL,eAAe,GAGhB,+BAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next-versions.d.mts","sourceRoot":"","sources":["../../src/resources/package-versions/next-versions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next-versions.d.ts","sourceRoot":"","sources":["../../src/resources/package-versions/next-versions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next-versions.js","sourceRoot":"","sources":["../../src/resources/package-versions/next-versions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;OAIG;IACH,MAAM,CACJ,SAAiB,EACjB,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qBAAqB,SAAS,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;CACF;AAbD,oCAaC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"next-versions.mjs","sourceRoot":"","sources":["../../src/resources/package-versions/next-versions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CACJ,SAAiB,EACjB,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,SAAS,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;CACF"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import * as NextVersionsAPI from "./next-versions.mjs";
|
|
3
|
-
import { NextVersionCreateParams, NextVersionCreateResponse, NextVersions } from "./next-versions.mjs";
|
|
4
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
5
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
|
-
/**
|
|
7
|
-
* Author, publish, and install Unity Packages V2 packages
|
|
8
|
-
*/
|
|
9
|
-
export declare class PackageVersions extends APIResource {
|
|
10
|
-
nextVersions: NextVersionsAPI.NextVersions;
|
|
11
|
-
/**
|
|
12
|
-
* Update the description of an unpublished package version.
|
|
13
|
-
*/
|
|
14
|
-
update(versionID: string, body: PackageVersionUpdateParams, options?: RequestOptions): APIPromise<PackageVersionUpdateResponse>;
|
|
15
|
-
}
|
|
16
|
-
export interface PackageVersionUpdateResponse {
|
|
17
|
-
/**
|
|
18
|
-
* Identifier field
|
|
19
|
-
*/
|
|
20
|
-
id: string;
|
|
21
|
-
/**
|
|
22
|
-
* Record creation date
|
|
23
|
-
*/
|
|
24
|
-
created_at: string;
|
|
25
|
-
/**
|
|
26
|
-
* Record update date
|
|
27
|
-
*/
|
|
28
|
-
updated_at: string;
|
|
29
|
-
/**
|
|
30
|
-
* The semantic version number for this package version
|
|
31
|
-
*/
|
|
32
|
-
version_number: string;
|
|
33
|
-
/**
|
|
34
|
-
* Components included in this package version
|
|
35
|
-
*/
|
|
36
|
-
components?: Array<unknown>;
|
|
37
|
-
/**
|
|
38
|
-
* The description of the package version
|
|
39
|
-
*/
|
|
40
|
-
description?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Whether this package version has been published
|
|
43
|
-
*/
|
|
44
|
-
is_published?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* The display name of the parent package
|
|
47
|
-
*/
|
|
48
|
-
package_display_name?: string;
|
|
49
|
-
/**
|
|
50
|
-
* The ID of the parent package
|
|
51
|
-
*/
|
|
52
|
-
package_id?: string;
|
|
53
|
-
/**
|
|
54
|
-
* The package key of the parent package
|
|
55
|
-
*/
|
|
56
|
-
package_key?: string;
|
|
57
|
-
}
|
|
58
|
-
export interface PackageVersionUpdateParams {
|
|
59
|
-
/**
|
|
60
|
-
* The new description for the draft package version.
|
|
61
|
-
*/
|
|
62
|
-
description: string;
|
|
63
|
-
}
|
|
64
|
-
export declare namespace PackageVersions {
|
|
65
|
-
export { type PackageVersionUpdateResponse as PackageVersionUpdateResponse, type PackageVersionUpdateParams as PackageVersionUpdateParams, };
|
|
66
|
-
export { NextVersions as NextVersions, type NextVersionCreateResponse as NextVersionCreateResponse, type NextVersionCreateParams as NextVersionCreateParams, };
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=package-versions.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-versions.d.mts","sourceRoot":"","sources":["../../src/resources/package-versions/package-versions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,4BAAwB;AACnD,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,YAAY,EAAE,4BAAwB;AACnG,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;OAEG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;CAG5C;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAID,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|