@scaleway/sdk 2.72.0 → 2.74.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/dist/api/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +94 -65
- package/dist/api/account/v3/marshalling.gen.js +94 -65
- package/dist/api/account/v3/types.gen.d.ts +224 -104
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +132 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +66 -113
- package/dist/api/cockpit/v1/api.gen.js +133 -157
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +23 -0
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +3 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +23 -0
- package/dist/api/cockpit/v1/types.gen.d.ts +628 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/edge_services/v1beta1/api.gen.cjs +41 -22
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +3 -2
- package/dist/api/edge_services/v1beta1/api.gen.js +41 -22
- package/dist/api/edge_services/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +7 -0
- package/dist/api/file/index.gen.cjs +4 -0
- package/dist/api/file/index.gen.d.ts +5 -0
- package/dist/api/file/index.gen.js +4 -0
- package/dist/api/file/v1alpha1/api.gen.cjs +142 -0
- package/dist/api/file/v1alpha1/api.gen.d.ts +73 -0
- package/dist/api/file/v1alpha1/api.gen.js +142 -0
- package/dist/api/file/v1alpha1/content.gen.cjs +7 -0
- package/dist/api/file/v1alpha1/content.gen.d.ts +3 -0
- package/dist/api/file/v1alpha1/content.gen.js +7 -0
- package/dist/api/file/v1alpha1/index.gen.cjs +8 -0
- package/dist/api/file/v1alpha1/index.gen.d.ts +4 -0
- package/dist/api/file/v1alpha1/index.gen.js +8 -0
- package/dist/api/file/v1alpha1/marshalling.gen.cjs +77 -0
- package/dist/api/file/v1alpha1/marshalling.gen.d.ts +7 -0
- package/dist/api/file/v1alpha1/marshalling.gen.js +77 -0
- package/dist/api/file/v1alpha1/types.gen.d.ts +239 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.cjs +40 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.d.ts +34 -0
- package/dist/api/file/v1alpha1/validation-rules.gen.js +40 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/function/v1beta1/types.gen.d.ts +6 -6
- package/dist/api/iam/v1alpha1/api.gen.cjs +4 -4
- package/dist/api/iam/v1alpha1/api.gen.d.ts +4 -4
- package/dist/api/iam/v1alpha1/api.gen.js +4 -4
- package/dist/api/iam/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/index.gen.d.ts +3 -1
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +9 -12
- package/dist/api/inference/v1beta1/api.gen.d.ts +7 -10
- package/dist/api/inference/v1beta1/api.gen.js +9 -12
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -1
- package/dist/api/instance/v1/types.gen.d.ts +1368 -600
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/lb/v1/marshalling.gen.cjs +4 -2
- package/dist/api/lb/v1/marshalling.gen.js +4 -2
- package/dist/api/lb/v1/types.gen.d.ts +4 -0
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/product_catalog/index.gen.cjs +4 -0
- package/dist/api/product_catalog/index.gen.d.ts +5 -0
- package/dist/api/product_catalog/index.gen.js +4 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.cjs +36 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.d.ts +18 -0
- package/dist/api/product_catalog/v2alpha1/api.gen.js +36 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.cjs +6 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.d.ts +3 -0
- package/dist/api/product_catalog/v2alpha1/index.gen.js +6 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.cjs +230 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.d.ts +2 -0
- package/dist/api/product_catalog/v2alpha1/marshalling.gen.js +230 -0
- package/dist/api/product_catalog/v2alpha1/types.gen.d.ts +293 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.cjs +11 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.d.ts +8 -0
- package/dist/api/product_catalog/v2alpha1/validation-rules.gen.js +11 -0
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpcgw/v1/api.gen.cjs +37 -0
- package/dist/api/vpcgw/v1/api.gen.d.ts +37 -0
- package/dist/api/vpcgw/v1/api.gen.js +37 -0
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/dist/index.cjs +36 -32
- package/dist/index.js +36 -32
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import type { Money, Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
|
+
export type PublicCatalogProductPriceUnitOfMeasureCountableUnit = 'unknown_countable_unit' | 'chunk' | 'core' | 'currency' | 'device' | 'domain' | 'email' | 'gb_s' | 'gigabyte' | 'hour' | 'iops_gigabyte' | 'ip' | 'month' | 'node' | 'plan' | 'query' | 'request' | 'session' | 'vcpu_s' | 'version' | 'year' | 'key' | 'token' | 'minute' | 'setup' | 'day';
|
|
3
|
+
export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
|
|
4
|
+
export interface PublicCatalogProductPropertiesHardwareCPUPhysical {
|
|
5
|
+
/**
|
|
6
|
+
* The number of sockets of the CPU.
|
|
7
|
+
*/
|
|
8
|
+
sockets: number;
|
|
9
|
+
/**
|
|
10
|
+
* The number of cores per socket.
|
|
11
|
+
*/
|
|
12
|
+
coresPerSocket: number;
|
|
13
|
+
/**
|
|
14
|
+
* The number of threads per core.
|
|
15
|
+
*/
|
|
16
|
+
threadsPerCore: number;
|
|
17
|
+
/**
|
|
18
|
+
* The frequency of the CPU in Hertz.
|
|
19
|
+
*/
|
|
20
|
+
frequency: number;
|
|
21
|
+
/**
|
|
22
|
+
* The benchmark score of the CPU.
|
|
23
|
+
*/
|
|
24
|
+
benchmark: number;
|
|
25
|
+
}
|
|
26
|
+
export interface PublicCatalogProductPropertiesHardwareCPUVirtual {
|
|
27
|
+
/**
|
|
28
|
+
* The number of vCPUs.
|
|
29
|
+
*/
|
|
30
|
+
count: number;
|
|
31
|
+
}
|
|
32
|
+
export interface PublicCatalogProductPropertiesHardwareCPU {
|
|
33
|
+
/**
|
|
34
|
+
* A human readable description of the CPU.
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
* The architecture of the CPU.
|
|
39
|
+
*/
|
|
40
|
+
arch: PublicCatalogProductPropertiesHardwareCPUArch;
|
|
41
|
+
/**
|
|
42
|
+
* The type of the CPU.
|
|
43
|
+
*/
|
|
44
|
+
type: string;
|
|
45
|
+
/**
|
|
46
|
+
* Properties if the CPU is virtual.
|
|
47
|
+
*
|
|
48
|
+
* One-of ('computeUnit'): at most one of 'virtual', 'physical' could be set.
|
|
49
|
+
*/
|
|
50
|
+
virtual?: PublicCatalogProductPropertiesHardwareCPUVirtual;
|
|
51
|
+
/**
|
|
52
|
+
* Properties if the CPU is physical.
|
|
53
|
+
*
|
|
54
|
+
* One-of ('computeUnit'): at most one of 'virtual', 'physical' could be set.
|
|
55
|
+
*/
|
|
56
|
+
physical?: PublicCatalogProductPropertiesHardwareCPUPhysical;
|
|
57
|
+
/**
|
|
58
|
+
* The total number of threads.
|
|
59
|
+
*/
|
|
60
|
+
threads: number;
|
|
61
|
+
}
|
|
62
|
+
export interface PublicCatalogProductPropertiesHardwareGPU {
|
|
63
|
+
/**
|
|
64
|
+
* A human-readable description of the GPU.
|
|
65
|
+
*/
|
|
66
|
+
description: string;
|
|
67
|
+
/**
|
|
68
|
+
* The number of GPUs.
|
|
69
|
+
*/
|
|
70
|
+
count: number;
|
|
71
|
+
/**
|
|
72
|
+
* The type of the GPU.
|
|
73
|
+
*/
|
|
74
|
+
type: string;
|
|
75
|
+
}
|
|
76
|
+
export interface PublicCatalogProductPropertiesHardwareNetwork {
|
|
77
|
+
/**
|
|
78
|
+
* A human-readable description of the network.
|
|
79
|
+
*/
|
|
80
|
+
description: string;
|
|
81
|
+
/**
|
|
82
|
+
* The internal bandwidth in bits per second.
|
|
83
|
+
*/
|
|
84
|
+
internalBandwidth: number;
|
|
85
|
+
/**
|
|
86
|
+
* The default public bandwidth in bits per second.
|
|
87
|
+
*/
|
|
88
|
+
publicBandwidth: number;
|
|
89
|
+
/**
|
|
90
|
+
* The maximum public bandwidth in bits per second (may require subscription to options).
|
|
91
|
+
*/
|
|
92
|
+
maxPublicBandwidth: number;
|
|
93
|
+
}
|
|
94
|
+
export interface PublicCatalogProductPropertiesHardwareRAM {
|
|
95
|
+
/**
|
|
96
|
+
* A human-readable description of the RAM.
|
|
97
|
+
*/
|
|
98
|
+
description: string;
|
|
99
|
+
/**
|
|
100
|
+
* The size of the RAM in bytes.
|
|
101
|
+
*/
|
|
102
|
+
size: number;
|
|
103
|
+
/**
|
|
104
|
+
* The type of the RAM.
|
|
105
|
+
*/
|
|
106
|
+
type: string;
|
|
107
|
+
}
|
|
108
|
+
export interface PublicCatalogProductPropertiesHardwareStorage {
|
|
109
|
+
/**
|
|
110
|
+
* A human-readable description of the storage.
|
|
111
|
+
*/
|
|
112
|
+
description: string;
|
|
113
|
+
/**
|
|
114
|
+
* The total size of the storage in bytes.
|
|
115
|
+
*/
|
|
116
|
+
total: number;
|
|
117
|
+
}
|
|
118
|
+
export interface PublicCatalogProductPriceUnitOfMeasure {
|
|
119
|
+
/**
|
|
120
|
+
* The unit of measure.
|
|
121
|
+
*/
|
|
122
|
+
unit: PublicCatalogProductPriceUnitOfMeasureCountableUnit;
|
|
123
|
+
/**
|
|
124
|
+
* The size of the unit.
|
|
125
|
+
*/
|
|
126
|
+
size: number;
|
|
127
|
+
}
|
|
128
|
+
export interface PublicCatalogProductPropertiesAppleSilicon {
|
|
129
|
+
/**
|
|
130
|
+
* The range of the Apple Silicon server.
|
|
131
|
+
*/
|
|
132
|
+
range: string;
|
|
133
|
+
}
|
|
134
|
+
export interface PublicCatalogProductPropertiesDedibox {
|
|
135
|
+
/**
|
|
136
|
+
* The range of the Dedibox server.
|
|
137
|
+
*/
|
|
138
|
+
range: string;
|
|
139
|
+
}
|
|
140
|
+
export interface PublicCatalogProductPropertiesElasticMetal {
|
|
141
|
+
/**
|
|
142
|
+
* The range of the Elastic Metal server.
|
|
143
|
+
*/
|
|
144
|
+
range: string;
|
|
145
|
+
}
|
|
146
|
+
export interface PublicCatalogProductPropertiesHardware {
|
|
147
|
+
/**
|
|
148
|
+
* The CPU hardware properties.
|
|
149
|
+
*/
|
|
150
|
+
cpu?: PublicCatalogProductPropertiesHardwareCPU;
|
|
151
|
+
/**
|
|
152
|
+
* The RAM hardware properties.
|
|
153
|
+
*/
|
|
154
|
+
ram?: PublicCatalogProductPropertiesHardwareRAM;
|
|
155
|
+
/**
|
|
156
|
+
* The storage hardware properties.
|
|
157
|
+
*/
|
|
158
|
+
storage?: PublicCatalogProductPropertiesHardwareStorage;
|
|
159
|
+
/**
|
|
160
|
+
* The network hardware properties.
|
|
161
|
+
*/
|
|
162
|
+
network?: PublicCatalogProductPropertiesHardwareNetwork;
|
|
163
|
+
/**
|
|
164
|
+
* The GPU hardware properties.
|
|
165
|
+
*/
|
|
166
|
+
gpu?: PublicCatalogProductPropertiesHardwareGPU;
|
|
167
|
+
}
|
|
168
|
+
export interface PublicCatalogProductPropertiesInstance {
|
|
169
|
+
/**
|
|
170
|
+
* The range of the Instance server.
|
|
171
|
+
*/
|
|
172
|
+
range: string;
|
|
173
|
+
}
|
|
174
|
+
export interface PublicCatalogProductLocality {
|
|
175
|
+
/**
|
|
176
|
+
* Whether or not the product is global.
|
|
177
|
+
*
|
|
178
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
|
|
179
|
+
*/
|
|
180
|
+
global?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* The region of the product.
|
|
183
|
+
*
|
|
184
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
|
|
185
|
+
*/
|
|
186
|
+
region?: ScwRegion;
|
|
187
|
+
/**
|
|
188
|
+
* The zone of the product.
|
|
189
|
+
*
|
|
190
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
|
|
191
|
+
*/
|
|
192
|
+
zone?: ScwZone;
|
|
193
|
+
/**
|
|
194
|
+
* The datacenter of the product.
|
|
195
|
+
*
|
|
196
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone', 'datacenter' could be set.
|
|
197
|
+
*/
|
|
198
|
+
datacenter?: string;
|
|
199
|
+
}
|
|
200
|
+
export interface PublicCatalogProductPrice {
|
|
201
|
+
/**
|
|
202
|
+
* The retail price of the product.
|
|
203
|
+
*/
|
|
204
|
+
retailPrice?: Money;
|
|
205
|
+
/**
|
|
206
|
+
* The unit of measure of the price.
|
|
207
|
+
*/
|
|
208
|
+
unitOfMeasure?: PublicCatalogProductPriceUnitOfMeasure;
|
|
209
|
+
}
|
|
210
|
+
export interface PublicCatalogProductProperties {
|
|
211
|
+
/**
|
|
212
|
+
* The hardware properties of the product (if supported).
|
|
213
|
+
*/
|
|
214
|
+
hardware?: PublicCatalogProductPropertiesHardware;
|
|
215
|
+
/**
|
|
216
|
+
* The properties of Dedibox products.
|
|
217
|
+
*
|
|
218
|
+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
|
|
219
|
+
*/
|
|
220
|
+
dedibox?: PublicCatalogProductPropertiesDedibox;
|
|
221
|
+
/**
|
|
222
|
+
* The properties of Elastic Metal products.
|
|
223
|
+
*
|
|
224
|
+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
|
|
225
|
+
*/
|
|
226
|
+
elasticMetal?: PublicCatalogProductPropertiesElasticMetal;
|
|
227
|
+
/**
|
|
228
|
+
* The properties of Apple Silicon products.
|
|
229
|
+
*
|
|
230
|
+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
|
|
231
|
+
*/
|
|
232
|
+
appleSilicon?: PublicCatalogProductPropertiesAppleSilicon;
|
|
233
|
+
/**
|
|
234
|
+
* The properties of Instance products.
|
|
235
|
+
*
|
|
236
|
+
* One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance' could be set.
|
|
237
|
+
*/
|
|
238
|
+
instance?: PublicCatalogProductPropertiesInstance;
|
|
239
|
+
}
|
|
240
|
+
export interface PublicCatalogProduct {
|
|
241
|
+
/**
|
|
242
|
+
* The unique identifier of the product.
|
|
243
|
+
*/
|
|
244
|
+
sku: string;
|
|
245
|
+
/**
|
|
246
|
+
* The category of the product.
|
|
247
|
+
*/
|
|
248
|
+
serviceCategory: string;
|
|
249
|
+
/**
|
|
250
|
+
* The product name.
|
|
251
|
+
*/
|
|
252
|
+
product: string;
|
|
253
|
+
/**
|
|
254
|
+
* The product variant.
|
|
255
|
+
*/
|
|
256
|
+
variant: string;
|
|
257
|
+
/**
|
|
258
|
+
* The product description.
|
|
259
|
+
*/
|
|
260
|
+
description: string;
|
|
261
|
+
/**
|
|
262
|
+
* The locality of the product.
|
|
263
|
+
*/
|
|
264
|
+
locality?: PublicCatalogProductLocality;
|
|
265
|
+
/**
|
|
266
|
+
* The price of the product.
|
|
267
|
+
*/
|
|
268
|
+
price?: PublicCatalogProductPrice;
|
|
269
|
+
/**
|
|
270
|
+
* The properties of the product.
|
|
271
|
+
*/
|
|
272
|
+
properties?: PublicCatalogProductProperties;
|
|
273
|
+
}
|
|
274
|
+
export interface ListPublicCatalogProductsResponse {
|
|
275
|
+
/**
|
|
276
|
+
* The list of products.
|
|
277
|
+
*/
|
|
278
|
+
products: PublicCatalogProduct[];
|
|
279
|
+
/**
|
|
280
|
+
* The total number of products in the catalog.
|
|
281
|
+
*/
|
|
282
|
+
totalCount: number;
|
|
283
|
+
}
|
|
284
|
+
export type PublicCatalogApiListPublicCatalogProductsRequest = {
|
|
285
|
+
/**
|
|
286
|
+
* Number of the page. Value must be greater or equal to 1.
|
|
287
|
+
*/
|
|
288
|
+
page?: number;
|
|
289
|
+
/**
|
|
290
|
+
* The number of products per page. Value must be greater or equal to 1.
|
|
291
|
+
*/
|
|
292
|
+
pageSize?: number;
|
|
293
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const PublicCatalogApiListPublicCatalogProductsRequest = {
|
|
4
|
+
page: {
|
|
5
|
+
greaterThanOrEqual: 1
|
|
6
|
+
},
|
|
7
|
+
pageSize: {
|
|
8
|
+
greaterThanOrEqual: 1
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
exports.PublicCatalogApiListPublicCatalogProductsRequest = PublicCatalogApiListPublicCatalogProductsRequest;
|
|
@@ -13,8 +13,7 @@ const jsonContentHeaders = {
|
|
|
13
13
|
};
|
|
14
14
|
class API extends api.API {
|
|
15
15
|
/**
|
|
16
|
-
* Get job information. Retrieve information about the provided **job ID**,
|
|
17
|
-
* such as status, payload, and result.
|
|
16
|
+
* Get job information. Retrieve information about the provided **job ID**, such as status, payload, and result.
|
|
18
17
|
*
|
|
19
18
|
* @param request - The request {@link GetJobRequest}
|
|
20
19
|
* @returns A Promise of Job
|
|
@@ -66,8 +65,7 @@ class API extends api.API {
|
|
|
66
65
|
marshalling_gen.unmarshalListJobsResponse
|
|
67
66
|
);
|
|
68
67
|
/**
|
|
69
|
-
* List all jobs within a project or session. Retrieve information about all
|
|
70
|
-
* jobs within a given project or session.
|
|
68
|
+
* List all jobs within a project or session. Retrieve information about all jobs within a given project or session.
|
|
71
69
|
*
|
|
72
70
|
* @param request - The request {@link ListJobsRequest}
|
|
73
71
|
* @returns A Promise of ListJobsResponse
|
|
@@ -89,8 +87,7 @@ class API extends api.API {
|
|
|
89
87
|
marshalling_gen.unmarshalListJobResultsResponse
|
|
90
88
|
);
|
|
91
89
|
/**
|
|
92
|
-
* List all results of a job. Retrieve all intermediate and final results of a
|
|
93
|
-
* job.
|
|
90
|
+
* List all results of a job. Retrieve all intermediate and final results of a job.
|
|
94
91
|
*
|
|
95
92
|
* @param request - The request {@link ListJobResultsRequest}
|
|
96
93
|
* @returns A Promise of ListJobResultsResponse
|
|
@@ -114,8 +111,7 @@ class API extends api.API {
|
|
|
114
111
|
marshalling_gen.unmarshalJob
|
|
115
112
|
);
|
|
116
113
|
/**
|
|
117
|
-
* Update job information. Update job information about the provided **job
|
|
118
|
-
* ID**.
|
|
114
|
+
* Update job information. Update job information about the provided **job ID**.
|
|
119
115
|
*
|
|
120
116
|
* @param request - The request {@link UpdateJobRequest}
|
|
121
117
|
* @returns A Promise of Job
|
|
@@ -169,8 +165,7 @@ class API extends api.API {
|
|
|
169
165
|
marshalling_gen.unmarshalJobCircuit
|
|
170
166
|
);
|
|
171
167
|
/**
|
|
172
|
-
* Get platform information. Retrieve information about the provided
|
|
173
|
-
* **platform ID**, such as provider name, technology, and type.
|
|
168
|
+
* Get platform information. Retrieve information about the provided **platform ID**, such as provider name, technology, and type.
|
|
174
169
|
*
|
|
175
170
|
* @param request - The request {@link GetPlatformRequest}
|
|
176
171
|
* @returns A Promise of Platform
|
|
@@ -210,8 +205,7 @@ class API extends api.API {
|
|
|
210
205
|
*/
|
|
211
206
|
listPlatforms = (request = {}) => resourcePaginator.enrichForPagination("platforms", this.pageOfListPlatforms, request);
|
|
212
207
|
/**
|
|
213
|
-
* Get session infrormation. Retrieve information about the provided **session
|
|
214
|
-
* ID**, such as name, status, and number of executed jobs.
|
|
208
|
+
* Get session infrormation. Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs.
|
|
215
209
|
*
|
|
216
210
|
* @param request - The request {@link GetSessionRequest}
|
|
217
211
|
* @returns A Promise of Session
|
|
@@ -284,8 +278,7 @@ class API extends api.API {
|
|
|
284
278
|
marshalling_gen.unmarshalSession
|
|
285
279
|
);
|
|
286
280
|
/**
|
|
287
|
-
* Update session information. Update session information of the provided
|
|
288
|
-
* **session ID**.
|
|
281
|
+
* Update session information. Update session information of the provided **session ID**.
|
|
289
282
|
*
|
|
290
283
|
* @param request - The request {@link UpdateSessionRequest}
|
|
291
284
|
* @returns A Promise of Session
|
|
@@ -302,8 +295,7 @@ class API extends api.API {
|
|
|
302
295
|
marshalling_gen.unmarshalSession
|
|
303
296
|
);
|
|
304
297
|
/**
|
|
305
|
-
* Terminate an existing session. Terminate a session by its unique ID and
|
|
306
|
-
* cancel all its attached jobs.
|
|
298
|
+
* Terminate an existing session. Terminate a session by its unique ID and cancel all its attached jobs.
|
|
307
299
|
*
|
|
308
300
|
* @param request - The request {@link TerminateSessionRequest}
|
|
309
301
|
* @returns A Promise of Session
|
|
@@ -318,8 +310,7 @@ class API extends api.API {
|
|
|
318
310
|
marshalling_gen.unmarshalSession
|
|
319
311
|
);
|
|
320
312
|
/**
|
|
321
|
-
* Delete an existing session. Delete a session by its unique ID and delete
|
|
322
|
-
* all its attached jobs.
|
|
313
|
+
* Delete an existing session. Delete a session by its unique ID and delete all its attached jobs.
|
|
323
314
|
*
|
|
324
315
|
* @param request - The request {@link DeleteSessionRequest}
|
|
325
316
|
*/
|
|
@@ -344,8 +335,7 @@ class API extends api.API {
|
|
|
344
335
|
);
|
|
345
336
|
listSessionACLs = (request) => resourcePaginator.enrichForPagination("acls", this.pageOfListSessionACLs, request);
|
|
346
337
|
/**
|
|
347
|
-
* Create a process. Create a new process for the specified application on a
|
|
348
|
-
* specified platform.
|
|
338
|
+
* Create a process. Create a new process for the specified application on a specified platform.
|
|
349
339
|
*
|
|
350
340
|
* @param request - The request {@link CreateProcessRequest}
|
|
351
341
|
* @returns A Promise of Process
|
|
@@ -362,8 +352,7 @@ class API extends api.API {
|
|
|
362
352
|
marshalling_gen.unmarshalProcess
|
|
363
353
|
);
|
|
364
354
|
/**
|
|
365
|
-
* Get process infrormation. Retrieve information about the provided **process
|
|
366
|
-
* ID**, such as name, status and progress.
|
|
355
|
+
* Get process infrormation. Retrieve information about the provided **process ID**, such as name, status and progress.
|
|
367
356
|
*
|
|
368
357
|
* @param request - The request {@link GetProcessRequest}
|
|
369
358
|
* @returns A Promise of Process
|
|
@@ -419,8 +408,7 @@ class API extends api.API {
|
|
|
419
408
|
*/
|
|
420
409
|
listProcesses = (request = {}) => resourcePaginator.enrichForPagination("processes", this.pageOfListProcesses, request);
|
|
421
410
|
/**
|
|
422
|
-
* Update process information. Update process information of the provided
|
|
423
|
-
* **process ID**.
|
|
411
|
+
* Update process information. Update process information of the provided **process ID**.
|
|
424
412
|
*
|
|
425
413
|
* @param request - The request {@link UpdateProcessRequest}
|
|
426
414
|
* @returns A Promise of Process
|
|
@@ -437,8 +425,7 @@ class API extends api.API {
|
|
|
437
425
|
marshalling_gen.unmarshalProcess
|
|
438
426
|
);
|
|
439
427
|
/**
|
|
440
|
-
* Cancel a running process. Cancel a process by its unique ID. Intermediate
|
|
441
|
-
* results are still available.
|
|
428
|
+
* Cancel a running process. Cancel a process by its unique ID. Intermediate results are still available.
|
|
442
429
|
*
|
|
443
430
|
* @param request - The request {@link CancelProcessRequest}
|
|
444
431
|
* @returns A Promise of Process
|
|
@@ -453,8 +440,7 @@ class API extends api.API {
|
|
|
453
440
|
marshalling_gen.unmarshalProcess
|
|
454
441
|
);
|
|
455
442
|
/**
|
|
456
|
-
* Delete an existing process. Delete a process by its unique ID and delete
|
|
457
|
-
* all its data.
|
|
443
|
+
* Delete an existing process. Delete a process by its unique ID and delete all its data.
|
|
458
444
|
*
|
|
459
445
|
* @param request - The request {@link DeleteProcessRequest}
|
|
460
446
|
*/
|
|
@@ -478,8 +464,7 @@ class API extends api.API {
|
|
|
478
464
|
marshalling_gen.unmarshalListProcessResultsResponse
|
|
479
465
|
);
|
|
480
466
|
/**
|
|
481
|
-
* List all results of a process. Retrieve all intermediate and final result
|
|
482
|
-
* of a process.
|
|
467
|
+
* List all results of a process. Retrieve all intermediate and final result of a process.
|
|
483
468
|
*
|
|
484
469
|
* @param request - The request {@link ListProcessResultsRequest}
|
|
485
470
|
* @returns A Promise of ListProcessResultsResponse
|
|
@@ -490,8 +475,7 @@ class API extends api.API {
|
|
|
490
475
|
request
|
|
491
476
|
);
|
|
492
477
|
/**
|
|
493
|
-
* Get application information. Retrieve information about the provided
|
|
494
|
-
* **applcation ID**, such as name, type and compatible platforms.
|
|
478
|
+
* Get application information. Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms.
|
|
495
479
|
*
|
|
496
480
|
* @param request - The request {@link GetApplicationRequest}
|
|
497
481
|
* @returns A Promise of Application
|
|
@@ -521,8 +505,7 @@ class API extends api.API {
|
|
|
521
505
|
marshalling_gen.unmarshalListApplicationsResponse
|
|
522
506
|
);
|
|
523
507
|
/**
|
|
524
|
-
* List all available applications. Retrieve information about all
|
|
525
|
-
* applications.
|
|
508
|
+
* List all available applications. Retrieve information about all applications.
|
|
526
509
|
*
|
|
527
510
|
* @param request - The request {@link ListApplicationsRequest}
|
|
528
511
|
* @returns A Promise of ListApplicationsResponse
|
|
@@ -3,13 +3,12 @@ import type { WaitForOptions } from '@scaleway/sdk-client';
|
|
|
3
3
|
import type { Application, CancelJobRequest, CancelProcessRequest, CreateJobRequest, CreateProcessRequest, CreateSessionRequest, DeleteJobRequest, DeleteProcessRequest, DeleteSessionRequest, GetApplicationRequest, GetJobCircuitRequest, GetJobRequest, GetPlatformRequest, GetProcessRequest, GetSessionRequest, Job, JobCircuit, ListApplicationsRequest, ListApplicationsResponse, ListJobResultsRequest, ListJobResultsResponse, ListJobsRequest, ListJobsResponse, ListPlatformsRequest, ListPlatformsResponse, ListProcessResultsRequest, ListProcessResultsResponse, ListProcessesRequest, ListProcessesResponse, ListSessionACLsRequest, ListSessionACLsResponse, ListSessionsRequest, ListSessionsResponse, Platform, Process, Session, TerminateSessionRequest, UpdateJobRequest, UpdateProcessRequest, UpdateSessionRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Quantum as a Service API.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
|
|
7
|
+
This API allows you to manage Scaleway Quantum as a Service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/**
|
|
11
|
-
* Get job information. Retrieve information about the provided **job ID**,
|
|
12
|
-
* such as status, payload, and result.
|
|
11
|
+
* Get job information. Retrieve information about the provided **job ID**, such as status, payload, and result.
|
|
13
12
|
*
|
|
14
13
|
* @param request - The request {@link GetJobRequest}
|
|
15
14
|
* @returns A Promise of Job
|
|
@@ -25,8 +24,7 @@ export declare class API extends ParentAPI {
|
|
|
25
24
|
waitForJob: (request: Readonly<GetJobRequest>, options?: Readonly<WaitForOptions<Job>>) => Promise<Job>;
|
|
26
25
|
protected pageOfListJobs: (request?: Readonly<ListJobsRequest>) => Promise<ListJobsResponse>;
|
|
27
26
|
/**
|
|
28
|
-
* List all jobs within a project or session. Retrieve information about all
|
|
29
|
-
* jobs within a given project or session.
|
|
27
|
+
* List all jobs within a project or session. Retrieve information about all jobs within a given project or session.
|
|
30
28
|
*
|
|
31
29
|
* @param request - The request {@link ListJobsRequest}
|
|
32
30
|
* @returns A Promise of ListJobsResponse
|
|
@@ -37,8 +35,7 @@ export declare class API extends ParentAPI {
|
|
|
37
35
|
};
|
|
38
36
|
protected pageOfListJobResults: (request: Readonly<ListJobResultsRequest>) => Promise<ListJobResultsResponse>;
|
|
39
37
|
/**
|
|
40
|
-
* List all results of a job. Retrieve all intermediate and final results of a
|
|
41
|
-
* job.
|
|
38
|
+
* List all results of a job. Retrieve all intermediate and final results of a job.
|
|
42
39
|
*
|
|
43
40
|
* @param request - The request {@link ListJobResultsRequest}
|
|
44
41
|
* @returns A Promise of ListJobResultsResponse
|
|
@@ -55,8 +52,7 @@ export declare class API extends ParentAPI {
|
|
|
55
52
|
*/
|
|
56
53
|
createJob: (request: Readonly<CreateJobRequest>) => Promise<Job>;
|
|
57
54
|
/**
|
|
58
|
-
* Update job information. Update job information about the provided **job
|
|
59
|
-
* ID**.
|
|
55
|
+
* Update job information. Update job information about the provided **job ID**.
|
|
60
56
|
*
|
|
61
57
|
* @param request - The request {@link UpdateJobRequest}
|
|
62
58
|
* @returns A Promise of Job
|
|
@@ -83,8 +79,7 @@ export declare class API extends ParentAPI {
|
|
|
83
79
|
*/
|
|
84
80
|
getJobCircuit: (request: Readonly<GetJobCircuitRequest>) => Promise<JobCircuit>;
|
|
85
81
|
/**
|
|
86
|
-
* Get platform information. Retrieve information about the provided
|
|
87
|
-
* **platform ID**, such as provider name, technology, and type.
|
|
82
|
+
* Get platform information. Retrieve information about the provided **platform ID**, such as provider name, technology, and type.
|
|
88
83
|
*
|
|
89
84
|
* @param request - The request {@link GetPlatformRequest}
|
|
90
85
|
* @returns A Promise of Platform
|
|
@@ -102,8 +97,7 @@ export declare class API extends ParentAPI {
|
|
|
102
97
|
[Symbol.asyncIterator]: () => AsyncGenerator<Platform[], void, void>;
|
|
103
98
|
};
|
|
104
99
|
/**
|
|
105
|
-
* Get session infrormation. Retrieve information about the provided **session
|
|
106
|
-
* ID**, such as name, status, and number of executed jobs.
|
|
100
|
+
* Get session infrormation. Retrieve information about the provided **session ID**, such as name, status, and number of executed jobs.
|
|
107
101
|
*
|
|
108
102
|
* @param request - The request {@link GetSessionRequest}
|
|
109
103
|
* @returns A Promise of Session
|
|
@@ -136,24 +130,21 @@ export declare class API extends ParentAPI {
|
|
|
136
130
|
*/
|
|
137
131
|
createSession: (request: Readonly<CreateSessionRequest>) => Promise<Session>;
|
|
138
132
|
/**
|
|
139
|
-
* Update session information. Update session information of the provided
|
|
140
|
-
* **session ID**.
|
|
133
|
+
* Update session information. Update session information of the provided **session ID**.
|
|
141
134
|
*
|
|
142
135
|
* @param request - The request {@link UpdateSessionRequest}
|
|
143
136
|
* @returns A Promise of Session
|
|
144
137
|
*/
|
|
145
138
|
updateSession: (request: Readonly<UpdateSessionRequest>) => Promise<Session>;
|
|
146
139
|
/**
|
|
147
|
-
* Terminate an existing session. Terminate a session by its unique ID and
|
|
148
|
-
* cancel all its attached jobs.
|
|
140
|
+
* Terminate an existing session. Terminate a session by its unique ID and cancel all its attached jobs.
|
|
149
141
|
*
|
|
150
142
|
* @param request - The request {@link TerminateSessionRequest}
|
|
151
143
|
* @returns A Promise of Session
|
|
152
144
|
*/
|
|
153
145
|
terminateSession: (request: Readonly<TerminateSessionRequest>) => Promise<Session>;
|
|
154
146
|
/**
|
|
155
|
-
* Delete an existing session. Delete a session by its unique ID and delete
|
|
156
|
-
* all its attached jobs.
|
|
147
|
+
* Delete an existing session. Delete a session by its unique ID and delete all its attached jobs.
|
|
157
148
|
*
|
|
158
149
|
* @param request - The request {@link DeleteSessionRequest}
|
|
159
150
|
*/
|
|
@@ -164,16 +155,14 @@ export declare class API extends ParentAPI {
|
|
|
164
155
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").SessionAccess[], void, void>;
|
|
165
156
|
};
|
|
166
157
|
/**
|
|
167
|
-
* Create a process. Create a new process for the specified application on a
|
|
168
|
-
* specified platform.
|
|
158
|
+
* Create a process. Create a new process for the specified application on a specified platform.
|
|
169
159
|
*
|
|
170
160
|
* @param request - The request {@link CreateProcessRequest}
|
|
171
161
|
* @returns A Promise of Process
|
|
172
162
|
*/
|
|
173
163
|
createProcess: (request: Readonly<CreateProcessRequest>) => Promise<Process>;
|
|
174
164
|
/**
|
|
175
|
-
* Get process infrormation. Retrieve information about the provided **process
|
|
176
|
-
* ID**, such as name, status and progress.
|
|
165
|
+
* Get process infrormation. Retrieve information about the provided **process ID**, such as name, status and progress.
|
|
177
166
|
*
|
|
178
167
|
* @param request - The request {@link GetProcessRequest}
|
|
179
168
|
* @returns A Promise of Process
|
|
@@ -199,32 +188,28 @@ export declare class API extends ParentAPI {
|
|
|
199
188
|
[Symbol.asyncIterator]: () => AsyncGenerator<Process[], void, void>;
|
|
200
189
|
};
|
|
201
190
|
/**
|
|
202
|
-
* Update process information. Update process information of the provided
|
|
203
|
-
* **process ID**.
|
|
191
|
+
* Update process information. Update process information of the provided **process ID**.
|
|
204
192
|
*
|
|
205
193
|
* @param request - The request {@link UpdateProcessRequest}
|
|
206
194
|
* @returns A Promise of Process
|
|
207
195
|
*/
|
|
208
196
|
updateProcess: (request: Readonly<UpdateProcessRequest>) => Promise<Process>;
|
|
209
197
|
/**
|
|
210
|
-
* Cancel a running process. Cancel a process by its unique ID. Intermediate
|
|
211
|
-
* results are still available.
|
|
198
|
+
* Cancel a running process. Cancel a process by its unique ID. Intermediate results are still available.
|
|
212
199
|
*
|
|
213
200
|
* @param request - The request {@link CancelProcessRequest}
|
|
214
201
|
* @returns A Promise of Process
|
|
215
202
|
*/
|
|
216
203
|
cancelProcess: (request: Readonly<CancelProcessRequest>) => Promise<Process>;
|
|
217
204
|
/**
|
|
218
|
-
* Delete an existing process. Delete a process by its unique ID and delete
|
|
219
|
-
* all its data.
|
|
205
|
+
* Delete an existing process. Delete a process by its unique ID and delete all its data.
|
|
220
206
|
*
|
|
221
207
|
* @param request - The request {@link DeleteProcessRequest}
|
|
222
208
|
*/
|
|
223
209
|
deleteProcess: (request: Readonly<DeleteProcessRequest>) => Promise<void>;
|
|
224
210
|
protected pageOfListProcessResults: (request: Readonly<ListProcessResultsRequest>) => Promise<ListProcessResultsResponse>;
|
|
225
211
|
/**
|
|
226
|
-
* List all results of a process. Retrieve all intermediate and final result
|
|
227
|
-
* of a process.
|
|
212
|
+
* List all results of a process. Retrieve all intermediate and final result of a process.
|
|
228
213
|
*
|
|
229
214
|
* @param request - The request {@link ListProcessResultsRequest}
|
|
230
215
|
* @returns A Promise of ListProcessResultsResponse
|
|
@@ -234,8 +219,7 @@ export declare class API extends ParentAPI {
|
|
|
234
219
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").ProcessResult[], void, void>;
|
|
235
220
|
};
|
|
236
221
|
/**
|
|
237
|
-
* Get application information. Retrieve information about the provided
|
|
238
|
-
* **applcation ID**, such as name, type and compatible platforms.
|
|
222
|
+
* Get application information. Retrieve information about the provided **applcation ID**, such as name, type and compatible platforms.
|
|
239
223
|
*
|
|
240
224
|
* @param request - The request {@link GetApplicationRequest}
|
|
241
225
|
* @returns A Promise of Application
|
|
@@ -243,8 +227,7 @@ export declare class API extends ParentAPI {
|
|
|
243
227
|
getApplication: (request: Readonly<GetApplicationRequest>) => Promise<Application>;
|
|
244
228
|
protected pageOfListApplications: (request?: Readonly<ListApplicationsRequest>) => Promise<ListApplicationsResponse>;
|
|
245
229
|
/**
|
|
246
|
-
* List all available applications. Retrieve information about all
|
|
247
|
-
* applications.
|
|
230
|
+
* List all available applications. Retrieve information about all applications.
|
|
248
231
|
*
|
|
249
232
|
* @param request - The request {@link ListApplicationsRequest}
|
|
250
233
|
* @returns A Promise of ListApplicationsResponse
|