@brazosd/node 0.1.6 → 0.1.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/browser.d.ts +44 -5
- package/browser.js +44 -8
- package/index.d.ts +44 -5
- package/index.js +44 -8
- package/package.json +1 -1
package/browser.d.ts
CHANGED
|
@@ -1567,6 +1567,10 @@ type CopyCloudDriveFnodeRequest = {
|
|
|
1567
1567
|
* Whether an existing file or directory at the destination may be replaced. Directory replacement is transactional and preserves the destination directory fnode.
|
|
1568
1568
|
*/
|
|
1569
1569
|
overwrite?: boolean;
|
|
1570
|
+
/**
|
|
1571
|
+
* Copy read-only reference entries as references to the source entry. The default materializes their contents.
|
|
1572
|
+
*/
|
|
1573
|
+
preserveReferences?: boolean;
|
|
1570
1574
|
/**
|
|
1571
1575
|
* Canonical source path to copy from. Unicode text; percent sequences and plus signs are literal filename characters, not URL encoding.
|
|
1572
1576
|
*/
|
|
@@ -2868,7 +2872,11 @@ type Quota = {
|
|
|
2868
2872
|
*/
|
|
2869
2873
|
limit?: number | null;
|
|
2870
2874
|
/**
|
|
2871
|
-
*
|
|
2875
|
+
* The resource service could not report a current measurement. Omit the usage display.
|
|
2876
|
+
*/
|
|
2877
|
+
usageUnavailable?: boolean;
|
|
2878
|
+
/**
|
|
2879
|
+
* Current usage when usageUnavailable is absent or false.
|
|
2872
2880
|
*/
|
|
2873
2881
|
used: number;
|
|
2874
2882
|
};
|
|
@@ -6422,8 +6430,9 @@ declare class DefaultService {
|
|
|
6422
6430
|
username: string;
|
|
6423
6431
|
}): CancelablePromise<void>;
|
|
6424
6432
|
/**
|
|
6425
|
-
* Update
|
|
6426
|
-
*
|
|
6433
|
+
* Update an organization member's display name by qualified name
|
|
6434
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
6435
|
+
* @returns OrgUser Organization member updated
|
|
6427
6436
|
* @throws ApiError
|
|
6428
6437
|
*/
|
|
6429
6438
|
updateManagedOrgUserByName({ namespace, username, requestBody, }: {
|
|
@@ -6474,8 +6483,9 @@ declare class DefaultService {
|
|
|
6474
6483
|
userId: number;
|
|
6475
6484
|
}): CancelablePromise<void>;
|
|
6476
6485
|
/**
|
|
6477
|
-
* Update
|
|
6478
|
-
*
|
|
6486
|
+
* Update an organization member's display name
|
|
6487
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
6488
|
+
* @returns OrgUser Organization member updated
|
|
6479
6489
|
* @throws ApiError
|
|
6480
6490
|
*/
|
|
6481
6491
|
updateManagedOrgUser({ userId, requestBody, }: {
|
|
@@ -8109,6 +8119,27 @@ type RootDomainInput = {
|
|
|
8109
8119
|
type RootDomainSettings = {
|
|
8110
8120
|
isDefault: boolean;
|
|
8111
8121
|
};
|
|
8122
|
+
type TransactionalEvent = {
|
|
8123
|
+
id: string;
|
|
8124
|
+
state: "pending" | "delivering" | "retrying" | "delivered" | "failed";
|
|
8125
|
+
attempts: number;
|
|
8126
|
+
createdAt: string;
|
|
8127
|
+
nextAttemptAt?: string;
|
|
8128
|
+
finishedAt?: string;
|
|
8129
|
+
lastError?: string;
|
|
8130
|
+
};
|
|
8131
|
+
type TransactionalEventQueue = {
|
|
8132
|
+
items: Array<TransactionalEvent>;
|
|
8133
|
+
nextCursor?: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* Active deliveries across this tenant
|
|
8136
|
+
*/
|
|
8137
|
+
inUse: number;
|
|
8138
|
+
/**
|
|
8139
|
+
* Effective tenant concurrency. Zero pauses admission. An absent limit means unlimited.
|
|
8140
|
+
*/
|
|
8141
|
+
concurrency?: number | null;
|
|
8142
|
+
};
|
|
8112
8143
|
type Usage = {
|
|
8113
8144
|
kind: "function" | "sqlite";
|
|
8114
8145
|
resourceId: string;
|
|
@@ -8501,6 +8532,14 @@ declare class DefaultService$2 {
|
|
|
8501
8532
|
deleteDatabase({ id, }: {
|
|
8502
8533
|
id: string;
|
|
8503
8534
|
}): CancelablePromise<any>;
|
|
8535
|
+
/**
|
|
8536
|
+
* @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
|
|
8537
|
+
* @throws ApiError
|
|
8538
|
+
*/
|
|
8539
|
+
listDatabaseEvents({ id, before, }: {
|
|
8540
|
+
id: string;
|
|
8541
|
+
before?: string;
|
|
8542
|
+
}): CancelablePromise<TransactionalEventQueue>;
|
|
8504
8543
|
/**
|
|
8505
8544
|
* Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
|
|
8506
8545
|
* @returns Database Durable creation accepted. Poll the database until ready before connecting.
|
package/browser.js
CHANGED
|
@@ -3666,7 +3666,8 @@ var DefaultService = class {
|
|
|
3666
3666
|
400: `Invalid request`,
|
|
3667
3667
|
403: `Forbidden`,
|
|
3668
3668
|
404: `Entry not found`,
|
|
3669
|
-
409: `Destination
|
|
3669
|
+
409: `Destination conflict, invalid reference or descendant target, or estimated growth exceeds the organization node quota`,
|
|
3670
|
+
503: `The node usage snapshot is delayed. Retry the bulk copy after the indicated Retry-After interval.`
|
|
3670
3671
|
}
|
|
3671
3672
|
});
|
|
3672
3673
|
}
|
|
@@ -5258,8 +5259,9 @@ var DefaultService = class {
|
|
|
5258
5259
|
});
|
|
5259
5260
|
}
|
|
5260
5261
|
/**
|
|
5261
|
-
* Update
|
|
5262
|
-
*
|
|
5262
|
+
* Update an organization member's display name by qualified name
|
|
5263
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
5264
|
+
* @returns OrgUser Organization member updated
|
|
5263
5265
|
* @throws ApiError
|
|
5264
5266
|
*/
|
|
5265
5267
|
updateManagedOrgUserByName({
|
|
@@ -5278,7 +5280,7 @@ var DefaultService = class {
|
|
|
5278
5280
|
mediaType: "application/json",
|
|
5279
5281
|
errors: {
|
|
5280
5282
|
403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
|
|
5281
|
-
404: `
|
|
5283
|
+
404: `Member not found or ineligible for editing in this organization`
|
|
5282
5284
|
}
|
|
5283
5285
|
});
|
|
5284
5286
|
}
|
|
@@ -5377,8 +5379,9 @@ var DefaultService = class {
|
|
|
5377
5379
|
});
|
|
5378
5380
|
}
|
|
5379
5381
|
/**
|
|
5380
|
-
* Update
|
|
5381
|
-
*
|
|
5382
|
+
* Update an organization member's display name
|
|
5383
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
5384
|
+
* @returns OrgUser Organization member updated
|
|
5382
5385
|
* @throws ApiError
|
|
5383
5386
|
*/
|
|
5384
5387
|
updateManagedOrgUser({
|
|
@@ -5395,7 +5398,7 @@ var DefaultService = class {
|
|
|
5395
5398
|
mediaType: "application/json",
|
|
5396
5399
|
errors: {
|
|
5397
5400
|
403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
|
|
5398
|
-
404: `
|
|
5401
|
+
404: `Member not found or ineligible for editing in this organization`
|
|
5399
5402
|
}
|
|
5400
5403
|
});
|
|
5401
5404
|
}
|
|
@@ -8597,6 +8600,29 @@ var DefaultService3 = class {
|
|
|
8597
8600
|
}
|
|
8598
8601
|
});
|
|
8599
8602
|
}
|
|
8603
|
+
/**
|
|
8604
|
+
* @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
|
|
8605
|
+
* @throws ApiError
|
|
8606
|
+
*/
|
|
8607
|
+
listDatabaseEvents({
|
|
8608
|
+
id,
|
|
8609
|
+
before
|
|
8610
|
+
}) {
|
|
8611
|
+
return this.httpRequest.request({
|
|
8612
|
+
method: "GET",
|
|
8613
|
+
url: "/databases/{id}/event-queue",
|
|
8614
|
+
path: {
|
|
8615
|
+
"id": id
|
|
8616
|
+
},
|
|
8617
|
+
query: {
|
|
8618
|
+
"before": before
|
|
8619
|
+
},
|
|
8620
|
+
errors: {
|
|
8621
|
+
404: `Database not found in this organization`,
|
|
8622
|
+
503: `Event queue currently unavailable`
|
|
8623
|
+
}
|
|
8624
|
+
});
|
|
8625
|
+
}
|
|
8600
8626
|
/**
|
|
8601
8627
|
* Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
|
|
8602
8628
|
* @returns Database Durable creation accepted. Poll the database until ready before connecting.
|
|
@@ -10458,7 +10484,8 @@ var operations = {
|
|
|
10458
10484
|
"400": "void",
|
|
10459
10485
|
"403": "void",
|
|
10460
10486
|
"404": "void",
|
|
10461
|
-
"409": "void"
|
|
10487
|
+
"409": "void",
|
|
10488
|
+
"503": "void"
|
|
10462
10489
|
}
|
|
10463
10490
|
},
|
|
10464
10491
|
"POST /cloud-drive/dirs": {
|
|
@@ -12661,6 +12688,15 @@ var operations = {
|
|
|
12661
12688
|
"503": "void"
|
|
12662
12689
|
}
|
|
12663
12690
|
},
|
|
12691
|
+
"GET /databases/{id}/event-queue": {
|
|
12692
|
+
"authenticated": true,
|
|
12693
|
+
"redirect": false,
|
|
12694
|
+
"responses": {
|
|
12695
|
+
"200": "json",
|
|
12696
|
+
"404": "void",
|
|
12697
|
+
"503": "void"
|
|
12698
|
+
}
|
|
12699
|
+
},
|
|
12664
12700
|
"POST /databases/{id}/branches": {
|
|
12665
12701
|
"authenticated": true,
|
|
12666
12702
|
"redirect": false,
|
package/index.d.ts
CHANGED
|
@@ -1569,6 +1569,10 @@ type CopyCloudDriveFnodeRequest = {
|
|
|
1569
1569
|
* Whether an existing file or directory at the destination may be replaced. Directory replacement is transactional and preserves the destination directory fnode.
|
|
1570
1570
|
*/
|
|
1571
1571
|
overwrite?: boolean;
|
|
1572
|
+
/**
|
|
1573
|
+
* Copy read-only reference entries as references to the source entry. The default materializes their contents.
|
|
1574
|
+
*/
|
|
1575
|
+
preserveReferences?: boolean;
|
|
1572
1576
|
/**
|
|
1573
1577
|
* Canonical source path to copy from. Unicode text; percent sequences and plus signs are literal filename characters, not URL encoding.
|
|
1574
1578
|
*/
|
|
@@ -2870,7 +2874,11 @@ type Quota = {
|
|
|
2870
2874
|
*/
|
|
2871
2875
|
limit?: number | null;
|
|
2872
2876
|
/**
|
|
2873
|
-
*
|
|
2877
|
+
* The resource service could not report a current measurement. Omit the usage display.
|
|
2878
|
+
*/
|
|
2879
|
+
usageUnavailable?: boolean;
|
|
2880
|
+
/**
|
|
2881
|
+
* Current usage when usageUnavailable is absent or false.
|
|
2874
2882
|
*/
|
|
2875
2883
|
used: number;
|
|
2876
2884
|
};
|
|
@@ -6424,8 +6432,9 @@ declare class DefaultService {
|
|
|
6424
6432
|
username: string;
|
|
6425
6433
|
}): CancelablePromise<void>;
|
|
6426
6434
|
/**
|
|
6427
|
-
* Update
|
|
6428
|
-
*
|
|
6435
|
+
* Update an organization member's display name by qualified name
|
|
6436
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
6437
|
+
* @returns OrgUser Organization member updated
|
|
6429
6438
|
* @throws ApiError
|
|
6430
6439
|
*/
|
|
6431
6440
|
updateManagedOrgUserByName({ namespace, username, requestBody, }: {
|
|
@@ -6476,8 +6485,9 @@ declare class DefaultService {
|
|
|
6476
6485
|
userId: number;
|
|
6477
6486
|
}): CancelablePromise<void>;
|
|
6478
6487
|
/**
|
|
6479
|
-
* Update
|
|
6480
|
-
*
|
|
6488
|
+
* Update an organization member's display name
|
|
6489
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
6490
|
+
* @returns OrgUser Organization member updated
|
|
6481
6491
|
* @throws ApiError
|
|
6482
6492
|
*/
|
|
6483
6493
|
updateManagedOrgUser({ userId, requestBody, }: {
|
|
@@ -8111,6 +8121,27 @@ type RootDomainInput = {
|
|
|
8111
8121
|
type RootDomainSettings = {
|
|
8112
8122
|
isDefault: boolean;
|
|
8113
8123
|
};
|
|
8124
|
+
type TransactionalEvent = {
|
|
8125
|
+
id: string;
|
|
8126
|
+
state: "pending" | "delivering" | "retrying" | "delivered" | "failed";
|
|
8127
|
+
attempts: number;
|
|
8128
|
+
createdAt: string;
|
|
8129
|
+
nextAttemptAt?: string;
|
|
8130
|
+
finishedAt?: string;
|
|
8131
|
+
lastError?: string;
|
|
8132
|
+
};
|
|
8133
|
+
type TransactionalEventQueue = {
|
|
8134
|
+
items: Array<TransactionalEvent>;
|
|
8135
|
+
nextCursor?: string;
|
|
8136
|
+
/**
|
|
8137
|
+
* Active deliveries across this tenant
|
|
8138
|
+
*/
|
|
8139
|
+
inUse: number;
|
|
8140
|
+
/**
|
|
8141
|
+
* Effective tenant concurrency. Zero pauses admission. An absent limit means unlimited.
|
|
8142
|
+
*/
|
|
8143
|
+
concurrency?: number | null;
|
|
8144
|
+
};
|
|
8114
8145
|
type Usage = {
|
|
8115
8146
|
kind: "function" | "sqlite";
|
|
8116
8147
|
resourceId: string;
|
|
@@ -8503,6 +8534,14 @@ declare class DefaultService$2 {
|
|
|
8503
8534
|
deleteDatabase({ id, }: {
|
|
8504
8535
|
id: string;
|
|
8505
8536
|
}): CancelablePromise<any>;
|
|
8537
|
+
/**
|
|
8538
|
+
* @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
|
|
8539
|
+
* @throws ApiError
|
|
8540
|
+
*/
|
|
8541
|
+
listDatabaseEvents({ id, before, }: {
|
|
8542
|
+
id: string;
|
|
8543
|
+
before?: string;
|
|
8544
|
+
}): CancelablePromise<TransactionalEventQueue>;
|
|
8506
8545
|
/**
|
|
8507
8546
|
* Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
|
|
8508
8547
|
* @returns Database Durable creation accepted. Poll the database until ready before connecting.
|
package/index.js
CHANGED
|
@@ -3666,7 +3666,8 @@ var DefaultService = class {
|
|
|
3666
3666
|
400: `Invalid request`,
|
|
3667
3667
|
403: `Forbidden`,
|
|
3668
3668
|
404: `Entry not found`,
|
|
3669
|
-
409: `Destination
|
|
3669
|
+
409: `Destination conflict, invalid reference or descendant target, or estimated growth exceeds the organization node quota`,
|
|
3670
|
+
503: `The node usage snapshot is delayed. Retry the bulk copy after the indicated Retry-After interval.`
|
|
3670
3671
|
}
|
|
3671
3672
|
});
|
|
3672
3673
|
}
|
|
@@ -5258,8 +5259,9 @@ var DefaultService = class {
|
|
|
5258
5259
|
});
|
|
5259
5260
|
}
|
|
5260
5261
|
/**
|
|
5261
|
-
* Update
|
|
5262
|
-
*
|
|
5262
|
+
* Update an organization member's display name by qualified name
|
|
5263
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
5264
|
+
* @returns OrgUser Organization member updated
|
|
5263
5265
|
* @throws ApiError
|
|
5264
5266
|
*/
|
|
5265
5267
|
updateManagedOrgUserByName({
|
|
@@ -5278,7 +5280,7 @@ var DefaultService = class {
|
|
|
5278
5280
|
mediaType: "application/json",
|
|
5279
5281
|
errors: {
|
|
5280
5282
|
403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
|
|
5281
|
-
404: `
|
|
5283
|
+
404: `Member not found or ineligible for editing in this organization`
|
|
5282
5284
|
}
|
|
5283
5285
|
});
|
|
5284
5286
|
}
|
|
@@ -5377,8 +5379,9 @@ var DefaultService = class {
|
|
|
5377
5379
|
});
|
|
5378
5380
|
}
|
|
5379
5381
|
/**
|
|
5380
|
-
* Update
|
|
5381
|
-
*
|
|
5382
|
+
* Update an organization member's display name
|
|
5383
|
+
* Update the display name of an active human member or an organization-managed account in the current organization.
|
|
5384
|
+
* @returns OrgUser Organization member updated
|
|
5382
5385
|
* @throws ApiError
|
|
5383
5386
|
*/
|
|
5384
5387
|
updateManagedOrgUser({
|
|
@@ -5395,7 +5398,7 @@ var DefaultService = class {
|
|
|
5395
5398
|
mediaType: "application/json",
|
|
5396
5399
|
errors: {
|
|
5397
5400
|
403: `Operation RN permission required for enterprise organizations; owner required for ordinary organizations`,
|
|
5398
|
-
404: `
|
|
5401
|
+
404: `Member not found or ineligible for editing in this organization`
|
|
5399
5402
|
}
|
|
5400
5403
|
});
|
|
5401
5404
|
}
|
|
@@ -8597,6 +8600,29 @@ var DefaultService3 = class {
|
|
|
8597
8600
|
}
|
|
8598
8601
|
});
|
|
8599
8602
|
}
|
|
8603
|
+
/**
|
|
8604
|
+
* @returns TransactionalEventQueue Recent committed events and the shared organization delivery limit
|
|
8605
|
+
* @throws ApiError
|
|
8606
|
+
*/
|
|
8607
|
+
listDatabaseEvents({
|
|
8608
|
+
id,
|
|
8609
|
+
before
|
|
8610
|
+
}) {
|
|
8611
|
+
return this.httpRequest.request({
|
|
8612
|
+
method: "GET",
|
|
8613
|
+
url: "/databases/{id}/event-queue",
|
|
8614
|
+
path: {
|
|
8615
|
+
"id": id
|
|
8616
|
+
},
|
|
8617
|
+
query: {
|
|
8618
|
+
"before": before
|
|
8619
|
+
},
|
|
8620
|
+
errors: {
|
|
8621
|
+
404: `Database not found in this organization`,
|
|
8622
|
+
503: `Event queue currently unavailable`
|
|
8623
|
+
}
|
|
8624
|
+
});
|
|
8625
|
+
}
|
|
8600
8626
|
/**
|
|
8601
8627
|
* Create a writable branch of a ready buffered primary database. The branch has its own credentials, endpoint, quota and billing. It supports online backups. Offline backups, in-place rollback and creating user branches require a primary database.
|
|
8602
8628
|
* @returns Database Durable creation accepted. Poll the database until ready before connecting.
|
|
@@ -10458,7 +10484,8 @@ var operations = {
|
|
|
10458
10484
|
"400": "void",
|
|
10459
10485
|
"403": "void",
|
|
10460
10486
|
"404": "void",
|
|
10461
|
-
"409": "void"
|
|
10487
|
+
"409": "void",
|
|
10488
|
+
"503": "void"
|
|
10462
10489
|
}
|
|
10463
10490
|
},
|
|
10464
10491
|
"POST /cloud-drive/dirs": {
|
|
@@ -12661,6 +12688,15 @@ var operations = {
|
|
|
12661
12688
|
"503": "void"
|
|
12662
12689
|
}
|
|
12663
12690
|
},
|
|
12691
|
+
"GET /databases/{id}/event-queue": {
|
|
12692
|
+
"authenticated": true,
|
|
12693
|
+
"redirect": false,
|
|
12694
|
+
"responses": {
|
|
12695
|
+
"200": "json",
|
|
12696
|
+
"404": "void",
|
|
12697
|
+
"503": "void"
|
|
12698
|
+
}
|
|
12699
|
+
},
|
|
12664
12700
|
"POST /databases/{id}/branches": {
|
|
12665
12701
|
"authenticated": true,
|
|
12666
12702
|
"redirect": false,
|