@nextplus/js-sdk 0.0.6 → 0.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextplus/js-sdk",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "generate": "npm run clean && npm run openapi-ts && npm run build",
@@ -23,6 +23,6 @@ export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> =
23
23
 
24
24
  export const client = createClient(
25
25
  createConfig<ClientOptions>({
26
- baseUrl: 'http://127.0.0.1:3000/api',
26
+ baseUrl: '/api',
27
27
  }),
28
28
  );
@@ -2229,76 +2229,6 @@ export const WorkflowSchema = {
2229
2229
  type: 'object',
2230
2230
  } as const;
2231
2231
 
2232
- export const WorkflowNoteSchema = {
2233
- properties: {
2234
- id: {
2235
- type: 'string',
2236
- },
2237
- sku: {
2238
- default: '',
2239
- type: 'string',
2240
- },
2241
- workflowName: {
2242
- default: '',
2243
- type: 'string',
2244
- },
2245
- skuRev: {
2246
- default: '',
2247
- type: 'string',
2248
- },
2249
- note: {
2250
- default: '',
2251
- type: 'string',
2252
- },
2253
- nodeTitle: {
2254
- default: '',
2255
- type: 'string',
2256
- },
2257
- _v: {
2258
- default: 2,
2259
- type: 'string',
2260
- },
2261
- closedTime: {
2262
- type: 'string',
2263
- format: 'date-time',
2264
- },
2265
- closed: {
2266
- default: false,
2267
- type: 'boolean',
2268
- },
2269
- createdBy: {
2270
- type: 'string',
2271
- },
2272
- workflowId: {
2273
- type: 'string',
2274
- },
2275
- created: {
2276
- default: '$now',
2277
- type: 'string',
2278
- format: 'date-time',
2279
- },
2280
- modified: {
2281
- default: '$now',
2282
- type: 'string',
2283
- format: 'date-time',
2284
- },
2285
- serverModified: {
2286
- default: '$now',
2287
- type: 'string',
2288
- format: 'date-time',
2289
- },
2290
- nodeId: {
2291
- type: 'string',
2292
- },
2293
- UserId: {
2294
- type: 'string',
2295
- },
2296
- },
2297
- required: ['id'],
2298
- additionalProperties: false,
2299
- type: 'object',
2300
- } as const;
2301
-
2302
2232
  export const AIPromptSchema = {
2303
2233
  properties: {
2304
2234
  prompt: {
@@ -6903,6 +6833,59 @@ export const ApiMethodLogSchema = {
6903
6833
  type: 'object',
6904
6834
  } as const;
6905
6835
 
6836
+ export const AddonSchema = {
6837
+ properties: {
6838
+ id: {
6839
+ type: 'string',
6840
+ },
6841
+ name: {
6842
+ type: 'string',
6843
+ },
6844
+ active: {
6845
+ default: true,
6846
+ type: 'boolean',
6847
+ },
6848
+ features: {
6849
+ default: [],
6850
+ type: 'array',
6851
+ items: {
6852
+ $ref: '#/definitions/x-any',
6853
+ },
6854
+ },
6855
+ created: {
6856
+ default: '$now',
6857
+ type: 'string',
6858
+ format: 'date-time',
6859
+ },
6860
+ modified: {
6861
+ default: '$now',
6862
+ type: 'string',
6863
+ format: 'date-time',
6864
+ },
6865
+ serverModified: {
6866
+ default: '$now',
6867
+ type: 'string',
6868
+ format: 'date-time',
6869
+ },
6870
+ deletedAt: {
6871
+ type: 'string',
6872
+ format: 'date-time',
6873
+ },
6874
+ deletedBy: {
6875
+ type: 'string',
6876
+ },
6877
+ UserId: {
6878
+ type: 'string',
6879
+ },
6880
+ createdBy: {
6881
+ type: 'string',
6882
+ },
6883
+ },
6884
+ required: ['id', 'name'],
6885
+ additionalProperties: false,
6886
+ type: 'object',
6887
+ } as const;
6888
+
6906
6889
  export const DeviceSchema = {
6907
6890
  properties: {
6908
6891
  id: {