@backblaze-labs/b2-sdk 0.3.0 → 0.4.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/CHANGELOG.md +45 -1
- package/README.md +18 -5
- package/dist/_virtual/_b2-sdk-version-json.cjs +1 -1
- package/dist/_virtual/_b2-sdk-version-json.js +1 -1
- package/dist/auth/reauth-coalescer.cjs +65 -0
- package/dist/auth/reauth-coalescer.cjs.map +1 -0
- package/dist/auth/reauth-coalescer.d.cts +34 -0
- package/dist/auth/reauth-coalescer.d.cts.map +1 -0
- package/dist/auth/reauth-coalescer.d.ts +34 -0
- package/dist/auth/reauth-coalescer.d.ts.map +1 -0
- package/dist/auth/reauth-coalescer.js +65 -0
- package/dist/auth/reauth-coalescer.js.map +1 -0
- package/dist/backup/raw.cjs +37 -15
- package/dist/backup/raw.cjs.map +1 -1
- package/dist/backup/raw.d.cts +2 -2
- package/dist/backup/raw.d.cts.map +1 -1
- package/dist/backup/raw.d.ts +2 -2
- package/dist/backup/raw.d.ts.map +1 -1
- package/dist/backup/raw.js +37 -15
- package/dist/backup/raw.js.map +1 -1
- package/dist/bucket-validation.cjs +111 -0
- package/dist/bucket-validation.cjs.map +1 -0
- package/dist/bucket-validation.d.cts +27 -0
- package/dist/bucket-validation.d.cts.map +1 -0
- package/dist/bucket-validation.d.ts +27 -0
- package/dist/bucket-validation.d.ts.map +1 -0
- package/dist/bucket-validation.js +109 -0
- package/dist/bucket-validation.js.map +1 -0
- package/dist/bucket.cjs +123 -73
- package/dist/bucket.cjs.map +1 -1
- package/dist/bucket.d.cts +156 -61
- package/dist/bucket.d.cts.map +1 -1
- package/dist/bucket.d.ts +156 -61
- package/dist/bucket.d.ts.map +1 -1
- package/dist/bucket.js +123 -73
- package/dist/bucket.js.map +1 -1
- package/dist/client.cjs +29 -8
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +30 -9
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.ts +30 -9
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +29 -8
- package/dist/client.js.map +1 -1
- package/dist/download/single.cjs +38 -13
- package/dist/download/single.cjs.map +1 -1
- package/dist/download/single.d.cts +10 -4
- package/dist/download/single.d.cts.map +1 -1
- package/dist/download/single.d.ts +10 -4
- package/dist/download/single.d.ts.map +1 -1
- package/dist/download/single.js +38 -13
- package/dist/download/single.js.map +1 -1
- package/dist/errors/index.cjs +27 -4
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.d.cts +15 -0
- package/dist/errors/index.d.cts.map +1 -1
- package/dist/errors/index.d.ts +15 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +27 -5
- package/dist/errors/index.js.map +1 -1
- package/dist/http/non-idempotent-mutations.cjs +38 -0
- package/dist/http/non-idempotent-mutations.cjs.map +1 -0
- package/dist/http/non-idempotent-mutations.d.cts +25 -0
- package/dist/http/non-idempotent-mutations.d.cts.map +1 -0
- package/dist/http/non-idempotent-mutations.d.ts +25 -0
- package/dist/http/non-idempotent-mutations.d.ts.map +1 -0
- package/dist/http/non-idempotent-mutations.js +35 -0
- package/dist/http/non-idempotent-mutations.js.map +1 -0
- package/dist/http/transport.cjs +9 -8
- package/dist/http/transport.cjs.map +1 -1
- package/dist/http/transport.d.cts +5 -0
- package/dist/http/transport.d.cts.map +1 -1
- package/dist/http/transport.d.ts +5 -0
- package/dist/http/transport.d.ts.map +1 -1
- package/dist/http/transport.js +9 -8
- package/dist/http/transport.js.map +1 -1
- package/dist/http/user-agent.cjs +12 -1
- package/dist/http/user-agent.cjs.map +1 -1
- package/dist/http/user-agent.d.cts +8 -0
- package/dist/http/user-agent.d.cts.map +1 -1
- package/dist/http/user-agent.d.ts +8 -0
- package/dist/http/user-agent.d.ts.map +1 -1
- package/dist/http/user-agent.js +13 -3
- package/dist/http/user-agent.js.map +1 -1
- package/dist/index.cjs +25 -0
- package/dist/index.d.cts +10 -9
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +10 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -6
- package/dist/notifications/index.cjs +3 -0
- package/dist/notifications/index.d.cts +2 -0
- package/dist/notifications/index.d.cts.map +1 -1
- package/dist/notifications/index.d.ts +2 -0
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +2 -1
- package/dist/object.cjs +12 -1
- package/dist/object.cjs.map +1 -1
- package/dist/object.d.cts +7 -1
- package/dist/object.d.cts.map +1 -1
- package/dist/object.d.ts +7 -1
- package/dist/object.d.ts.map +1 -1
- package/dist/object.js +12 -1
- package/dist/object.js.map +1 -1
- package/dist/partner/auth-core.cjs +4 -23
- package/dist/partner/auth-core.cjs.map +1 -1
- package/dist/partner/auth-core.d.cts +1 -1
- package/dist/partner/auth-core.d.cts.map +1 -1
- package/dist/partner/auth-core.d.ts +1 -1
- package/dist/partner/auth-core.d.ts.map +1 -1
- package/dist/partner/auth-core.js +5 -24
- package/dist/partner/auth-core.js.map +1 -1
- package/dist/partner/client.cjs +25 -10
- package/dist/partner/client.cjs.map +1 -1
- package/dist/partner/client.d.cts +32 -10
- package/dist/partner/client.d.cts.map +1 -1
- package/dist/partner/client.d.ts +32 -10
- package/dist/partner/client.d.ts.map +1 -1
- package/dist/partner/client.js +25 -10
- package/dist/partner/client.js.map +1 -1
- package/dist/partner/endpoint-url.cjs +1 -0
- package/dist/partner/endpoint-url.cjs.map +1 -1
- package/dist/partner/endpoint-url.d.cts +2 -0
- package/dist/partner/endpoint-url.d.cts.map +1 -1
- package/dist/partner/endpoint-url.d.ts +2 -0
- package/dist/partner/endpoint-url.d.ts.map +1 -1
- package/dist/partner/endpoint-url.js +1 -0
- package/dist/partner/endpoint-url.js.map +1 -1
- package/dist/partner/in-memory.cjs.map +1 -1
- package/dist/partner/in-memory.js.map +1 -1
- package/dist/partner/index.cjs +9 -0
- package/dist/partner/index.d.cts +11 -2
- package/dist/partner/index.d.cts.map +1 -1
- package/dist/partner/index.d.ts +11 -2
- package/dist/partner/index.d.ts.map +1 -1
- package/dist/partner/index.js +3 -1
- package/dist/partner/raw.cjs +52 -44
- package/dist/partner/raw.cjs.map +1 -1
- package/dist/partner/raw.d.cts +16 -19
- package/dist/partner/raw.d.cts.map +1 -1
- package/dist/partner/raw.d.ts +16 -19
- package/dist/partner/raw.d.ts.map +1 -1
- package/dist/partner/raw.js +52 -44
- package/dist/partner/raw.js.map +1 -1
- package/dist/partner/redaction.cjs +133 -108
- package/dist/partner/redaction.cjs.map +1 -1
- package/dist/partner/redaction.d.cts +47 -13
- package/dist/partner/redaction.d.cts.map +1 -1
- package/dist/partner/redaction.d.ts +47 -13
- package/dist/partner/redaction.d.ts.map +1 -1
- package/dist/partner/redaction.js +133 -109
- package/dist/partner/redaction.js.map +1 -1
- package/dist/raw/encoding.cjs +29 -10
- package/dist/raw/encoding.cjs.map +1 -1
- package/dist/raw/encoding.d.cts +3 -2
- package/dist/raw/encoding.d.cts.map +1 -1
- package/dist/raw/encoding.d.ts +3 -2
- package/dist/raw/encoding.d.ts.map +1 -1
- package/dist/raw/encoding.js +29 -10
- package/dist/raw/encoding.js.map +1 -1
- package/dist/raw/index.cjs +64 -39
- package/dist/raw/index.cjs.map +1 -1
- package/dist/raw/index.d.cts +21 -19
- package/dist/raw/index.d.cts.map +1 -1
- package/dist/raw/index.d.ts +21 -19
- package/dist/raw/index.d.ts.map +1 -1
- package/dist/raw/index.js +47 -40
- package/dist/raw/index.js.map +1 -1
- package/dist/raw/url.cjs.map +1 -1
- package/dist/raw/url.d.cts +3 -3
- package/dist/raw/url.d.ts +3 -3
- package/dist/raw/url.js.map +1 -1
- package/dist/simulator/index.cjs +456 -125
- package/dist/simulator/index.cjs.map +1 -1
- package/dist/simulator/index.d.cts +16 -1
- package/dist/simulator/index.d.cts.map +1 -1
- package/dist/simulator/index.d.ts +16 -1
- package/dist/simulator/index.d.ts.map +1 -1
- package/dist/simulator/index.js +449 -130
- package/dist/simulator/index.js.map +1 -1
- package/dist/simulator/partner-capabilities.cjs +77 -0
- package/dist/simulator/partner-capabilities.cjs.map +1 -0
- package/dist/simulator/partner-capabilities.d.cts +53 -0
- package/dist/simulator/partner-capabilities.d.cts.map +1 -0
- package/dist/simulator/partner-capabilities.d.ts +53 -0
- package/dist/simulator/partner-capabilities.d.ts.map +1 -0
- package/dist/simulator/partner-capabilities.js +73 -0
- package/dist/simulator/partner-capabilities.js.map +1 -0
- package/dist/simulator/partner.cjs +55 -61
- package/dist/simulator/partner.cjs.map +1 -1
- package/dist/simulator/partner.d.cts +5 -2
- package/dist/simulator/partner.d.cts.map +1 -1
- package/dist/simulator/partner.d.ts +5 -2
- package/dist/simulator/partner.d.ts.map +1 -1
- package/dist/simulator/partner.js +56 -61
- package/dist/simulator/partner.js.map +1 -1
- package/dist/simulator/validation.cjs +160 -30
- package/dist/simulator/validation.cjs.map +1 -1
- package/dist/simulator/validation.d.cts +28 -6
- package/dist/simulator/validation.d.cts.map +1 -1
- package/dist/simulator/validation.d.ts +28 -6
- package/dist/simulator/validation.d.ts.map +1 -1
- package/dist/simulator/validation.js +148 -31
- package/dist/simulator/validation.js.map +1 -1
- package/dist/streams/file-source.cjs +1 -1
- package/dist/streams/file-source.cjs.map +1 -1
- package/dist/streams/file-source.js +1 -1
- package/dist/streams/file-source.js.map +1 -1
- package/dist/streams/hash.cjs +246 -13
- package/dist/streams/hash.cjs.map +1 -1
- package/dist/streams/hash.d.cts +37 -12
- package/dist/streams/hash.d.cts.map +1 -1
- package/dist/streams/hash.d.ts +37 -12
- package/dist/streams/hash.d.ts.map +1 -1
- package/dist/streams/hash.js +246 -15
- package/dist/streams/hash.js.map +1 -1
- package/dist/streams/index.cjs +2 -0
- package/dist/streams/index.d.cts +1 -1
- package/dist/streams/index.d.cts.map +1 -1
- package/dist/streams/index.d.ts +1 -1
- package/dist/streams/index.d.ts.map +1 -1
- package/dist/streams/index.js +2 -2
- package/dist/streams/progress.cjs +63 -4
- package/dist/streams/progress.cjs.map +1 -1
- package/dist/streams/progress.d.cts +28 -2
- package/dist/streams/progress.d.cts.map +1 -1
- package/dist/streams/progress.d.ts +28 -2
- package/dist/streams/progress.d.ts.map +1 -1
- package/dist/streams/progress.js +63 -4
- package/dist/streams/progress.js.map +1 -1
- package/dist/sync/download-staging.cjs +147 -35
- package/dist/sync/download-staging.cjs.map +1 -1
- package/dist/sync/download-staging.d.cts +25 -2
- package/dist/sync/download-staging.d.cts.map +1 -1
- package/dist/sync/download-staging.d.ts +25 -2
- package/dist/sync/download-staging.d.ts.map +1 -1
- package/dist/sync/download-staging.js +146 -36
- package/dist/sync/download-staging.js.map +1 -1
- package/dist/sync/index.d.cts +1 -1
- package/dist/sync/index.d.cts.map +1 -1
- package/dist/sync/index.d.ts +1 -1
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/local-file-io.cjs +5 -1
- package/dist/sync/local-file-io.cjs.map +1 -1
- package/dist/sync/local-file-io.d.cts +2 -0
- package/dist/sync/local-file-io.d.cts.map +1 -1
- package/dist/sync/local-file-io.d.ts +2 -0
- package/dist/sync/local-file-io.d.ts.map +1 -1
- package/dist/sync/local-file-io.js +5 -1
- package/dist/sync/local-file-io.js.map +1 -1
- package/dist/sync/pairing.cjs +1 -0
- package/dist/sync/pairing.cjs.map +1 -1
- package/dist/sync/pairing.js +1 -0
- package/dist/sync/pairing.js.map +1 -1
- package/dist/sync/scanners/b2.cjs +2 -0
- package/dist/sync/scanners/b2.cjs.map +1 -1
- package/dist/sync/scanners/b2.d.cts.map +1 -1
- package/dist/sync/scanners/b2.d.ts.map +1 -1
- package/dist/sync/scanners/b2.js +2 -0
- package/dist/sync/scanners/b2.js.map +1 -1
- package/dist/sync/scanners/local.cjs +150 -33
- package/dist/sync/scanners/local.cjs.map +1 -1
- package/dist/sync/scanners/local.d.cts +6 -0
- package/dist/sync/scanners/local.d.cts.map +1 -1
- package/dist/sync/scanners/local.d.ts +6 -0
- package/dist/sync/scanners/local.d.ts.map +1 -1
- package/dist/sync/scanners/local.js +150 -33
- package/dist/sync/scanners/local.js.map +1 -1
- package/dist/sync/synchronizer.cjs +76 -29
- package/dist/sync/synchronizer.cjs.map +1 -1
- package/dist/sync/synchronizer.d.cts +1 -0
- package/dist/sync/synchronizer.d.cts.map +1 -1
- package/dist/sync/synchronizer.d.ts +1 -0
- package/dist/sync/synchronizer.d.ts.map +1 -1
- package/dist/sync/synchronizer.js +76 -29
- package/dist/sync/synchronizer.js.map +1 -1
- package/dist/sync/types.d.cts +19 -3
- package/dist/sync/types.d.cts.map +1 -1
- package/dist/sync/types.d.ts +19 -3
- package/dist/sync/types.d.ts.map +1 -1
- package/dist/types/backup.d.cts +6 -1
- package/dist/types/backup.d.cts.map +1 -1
- package/dist/types/backup.d.ts +6 -1
- package/dist/types/backup.d.ts.map +1 -1
- package/dist/types/bucket.cjs +81 -11
- package/dist/types/bucket.cjs.map +1 -1
- package/dist/types/bucket.d.cts +190 -39
- package/dist/types/bucket.d.cts.map +1 -1
- package/dist/types/bucket.d.ts +190 -39
- package/dist/types/bucket.d.ts.map +1 -1
- package/dist/types/bucket.js +67 -12
- package/dist/types/bucket.js.map +1 -1
- package/dist/types/download.cjs.map +1 -1
- package/dist/types/download.d.cts +3 -17
- package/dist/types/download.d.cts.map +1 -1
- package/dist/types/download.d.ts +3 -17
- package/dist/types/download.d.ts.map +1 -1
- package/dist/types/download.js.map +1 -1
- package/dist/types/encryption.cjs +18 -0
- package/dist/types/encryption.cjs.map +1 -1
- package/dist/types/encryption.d.cts +21 -11
- package/dist/types/encryption.d.cts.map +1 -1
- package/dist/types/encryption.d.ts +21 -11
- package/dist/types/encryption.d.ts.map +1 -1
- package/dist/types/encryption.js +18 -0
- package/dist/types/encryption.js.map +1 -1
- package/dist/types/file.cjs +3 -0
- package/dist/types/file.cjs.map +1 -1
- package/dist/types/file.d.cts +125 -16
- package/dist/types/file.d.cts.map +1 -1
- package/dist/types/file.d.ts +125 -16
- package/dist/types/file.d.ts.map +1 -1
- package/dist/types/file.js +3 -1
- package/dist/types/file.js.map +1 -1
- package/dist/types/index.d.cts +7 -7
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/key.d.cts +4 -3
- package/dist/types/key.d.cts.map +1 -1
- package/dist/types/key.d.ts +4 -3
- package/dist/types/key.d.ts.map +1 -1
- package/dist/types/notifications.cjs +30 -0
- package/dist/types/notifications.cjs.map +1 -1
- package/dist/types/notifications.d.cts +26 -1
- package/dist/types/notifications.d.cts.map +1 -1
- package/dist/types/notifications.d.ts +26 -1
- package/dist/types/notifications.d.ts.map +1 -1
- package/dist/types/notifications.js +29 -1
- package/dist/types/notifications.js.map +1 -1
- package/dist/types/partner.cjs.map +1 -1
- package/dist/types/partner.d.cts +28 -36
- package/dist/types/partner.d.cts.map +1 -1
- package/dist/types/partner.d.ts +28 -36
- package/dist/types/partner.d.ts.map +1 -1
- package/dist/types/partner.js.map +1 -1
- package/dist/types/upload.d.cts +4 -0
- package/dist/types/upload.d.cts.map +1 -1
- package/dist/types/upload.d.ts +4 -0
- package/dist/types/upload.d.ts.map +1 -1
- package/dist/upload/large.cjs +10 -7
- package/dist/upload/large.cjs.map +1 -1
- package/dist/upload/large.d.cts +15 -6
- package/dist/upload/large.d.cts.map +1 -1
- package/dist/upload/large.d.ts +15 -6
- package/dist/upload/large.d.ts.map +1 -1
- package/dist/upload/large.js +10 -7
- package/dist/upload/large.js.map +1 -1
- package/dist/upload/options.cjs.map +1 -1
- package/dist/upload/options.d.cts +12 -0
- package/dist/upload/options.d.cts.map +1 -1
- package/dist/upload/options.d.ts +12 -0
- package/dist/upload/options.d.ts.map +1 -1
- package/dist/upload/options.js.map +1 -1
- package/dist/upload/resume.cjs +4 -3
- package/dist/upload/resume.cjs.map +1 -1
- package/dist/upload/resume.d.cts +6 -4
- package/dist/upload/resume.d.cts.map +1 -1
- package/dist/upload/resume.d.ts +6 -4
- package/dist/upload/resume.d.ts.map +1 -1
- package/dist/upload/resume.js +4 -3
- package/dist/upload/resume.js.map +1 -1
- package/dist/upload/retry.cjs +17 -10
- package/dist/upload/retry.cjs.map +1 -1
- package/dist/upload/retry.d.cts.map +1 -1
- package/dist/upload/retry.d.ts.map +1 -1
- package/dist/upload/retry.js +17 -10
- package/dist/upload/retry.js.map +1 -1
- package/dist/upload/single.cjs +35 -31
- package/dist/upload/single.cjs.map +1 -1
- package/dist/upload/single.d.cts +6 -0
- package/dist/upload/single.d.cts.map +1 -1
- package/dist/upload/single.d.ts +6 -0
- package/dist/upload/single.d.ts.map +1 -1
- package/dist/upload/single.js +35 -31
- package/dist/upload/single.js.map +1 -1
- package/dist/upload/stream.cjs +12 -1
- package/dist/upload/stream.cjs.map +1 -1
- package/dist/upload/stream.d.cts +6 -0
- package/dist/upload/stream.d.cts.map +1 -1
- package/dist/upload/stream.d.ts +6 -0
- package/dist/upload/stream.d.ts.map +1 -1
- package/dist/upload/stream.js +12 -1
- package/dist/upload/stream.js.map +1 -1
- package/dist/version.cjs +56 -4
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.cts +53 -4
- package/dist/version.d.cts.map +1 -1
- package/dist/version.d.ts +53 -4
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +52 -5
- package/dist/version.js.map +1 -1
- package/package.json +11 -4
package/dist/types/partner.d.cts
CHANGED
|
@@ -142,7 +142,7 @@ export interface PartnerGroupMember {
|
|
|
142
142
|
/**
|
|
143
143
|
* Single result element returned by `b2_create_group_member`.
|
|
144
144
|
*
|
|
145
|
-
* The `b2_create_group_member` wire response is
|
|
145
|
+
* The `b2_create_group_member` wire response is one JSON object.
|
|
146
146
|
*
|
|
147
147
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
148
148
|
*/
|
|
@@ -155,11 +155,11 @@ export interface CreateGroupMemberResult {
|
|
|
155
155
|
readonly groupMember: PartnerGroupMember;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* Single-object wire response from `b2_create_group_member`.
|
|
159
159
|
*
|
|
160
160
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
161
161
|
*/
|
|
162
|
-
export type CreateGroupMemberResponse =
|
|
162
|
+
export type CreateGroupMemberResponse = CreateGroupMemberResult;
|
|
163
163
|
/**
|
|
164
164
|
* Request parameters for `b2_eject_group_member`.
|
|
165
165
|
*
|
|
@@ -184,9 +184,6 @@ export type EjectGroupMemberResult = PartnerGroupMember;
|
|
|
184
184
|
/**
|
|
185
185
|
* Single-object wire response from `b2_eject_group_member`.
|
|
186
186
|
*
|
|
187
|
-
* B2 returns one ejected-member object (not an array), unlike
|
|
188
|
-
* `b2_create_group_member` which returns an array.
|
|
189
|
-
*
|
|
190
187
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
191
188
|
*/
|
|
192
189
|
export type EjectGroupMemberResponse = EjectGroupMemberResult;
|
|
@@ -208,21 +205,21 @@ export interface ListGroupsRequest {
|
|
|
208
205
|
/**
|
|
209
206
|
* B2 storage statistics returned for partner groups and group members.
|
|
210
207
|
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
208
|
+
* Live `b2_list_groups` and `b2_list_group_members` responses return the count
|
|
209
|
+
* fields as JSON numbers (matching the Partner docs), and the daily-snapshot
|
|
210
|
+
* timestamp as a B2 `dYYYYMMDD_mHHMMSS` string.
|
|
214
211
|
*
|
|
215
212
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
216
213
|
*/
|
|
217
214
|
export interface PartnerB2Stats {
|
|
218
|
-
/** Total bytes stored as
|
|
219
|
-
readonly b2BytesStoredCount:
|
|
220
|
-
/** Total files stored as
|
|
221
|
-
readonly b2FilesStoredCount:
|
|
222
|
-
/**
|
|
215
|
+
/** Total bytes stored, as an integer count. */
|
|
216
|
+
readonly b2BytesStoredCount: number;
|
|
217
|
+
/** Total files stored, as an integer count. */
|
|
218
|
+
readonly b2FilesStoredCount: number;
|
|
219
|
+
/** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for the daily B2 statistics snapshot, or null if unavailable. */
|
|
223
220
|
readonly b2StatsAsOfTimestamp: string | null;
|
|
224
|
-
/** Total bucket count as
|
|
225
|
-
readonly bucketCount:
|
|
221
|
+
/** Total bucket count, as an integer count. */
|
|
222
|
+
readonly bucketCount: number;
|
|
226
223
|
}
|
|
227
224
|
/**
|
|
228
225
|
* Account standing information for a partner group.
|
|
@@ -239,9 +236,9 @@ export interface PartnerAccountStandingDetails {
|
|
|
239
236
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
240
237
|
*/
|
|
241
238
|
export interface PartnerGroupStats {
|
|
242
|
-
/**
|
|
239
|
+
/** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for when the group was created. */
|
|
243
240
|
readonly createdTimestamp: string;
|
|
244
|
-
/**
|
|
241
|
+
/** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for the last update to the group's statistics. */
|
|
245
242
|
readonly groupStatsAsOfTimestamp: string;
|
|
246
243
|
/** Total number of accepted members in the group. */
|
|
247
244
|
readonly memberCount: number;
|
|
@@ -254,7 +251,7 @@ export interface PartnerGroupStats {
|
|
|
254
251
|
export interface PartnerGroup {
|
|
255
252
|
/** Account standing information for the group. */
|
|
256
253
|
readonly accountStandingDetails: PartnerAccountStandingDetails;
|
|
257
|
-
/** B2 storage statistics for the group. Count fields are
|
|
254
|
+
/** B2 storage statistics for the group. Count fields are integer numbers. */
|
|
258
255
|
readonly b2Stats: PartnerB2Stats;
|
|
259
256
|
/** Unique ID of the group. */
|
|
260
257
|
readonly groupId: GroupId;
|
|
@@ -282,7 +279,7 @@ export interface ListGroupsResult {
|
|
|
282
279
|
* Single-object wire response from `b2_list_groups`.
|
|
283
280
|
*
|
|
284
281
|
* B2 returns one object with `accountId`, `groups`, and the `nextGroupId`
|
|
285
|
-
* cursor
|
|
282
|
+
* cursor, not an array. `b2_list_group_members` is likewise a single object.
|
|
286
283
|
*
|
|
287
284
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
288
285
|
*/
|
|
@@ -308,11 +305,11 @@ export interface ListGroupMembersRequest {
|
|
|
308
305
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
309
306
|
*/
|
|
310
307
|
export interface ListedGroupMember extends PartnerGroupMember {
|
|
311
|
-
/** B2 storage statistics for the member. Count fields are
|
|
308
|
+
/** B2 storage statistics for the member. Count fields are integer numbers. */
|
|
312
309
|
readonly b2Stats: PartnerB2Stats;
|
|
313
310
|
}
|
|
314
311
|
/**
|
|
315
|
-
*
|
|
312
|
+
* One page of members for a group, returned by `b2_list_group_members`.
|
|
316
313
|
*
|
|
317
314
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
318
315
|
*/
|
|
@@ -327,17 +324,17 @@ export interface ListGroupMembersResult {
|
|
|
327
324
|
readonly groupMembers: readonly ListedGroupMember[];
|
|
328
325
|
}
|
|
329
326
|
/**
|
|
330
|
-
*
|
|
327
|
+
* Single-object wire response from `b2_list_group_members`.
|
|
331
328
|
*
|
|
332
329
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
333
330
|
*/
|
|
334
|
-
export type ListGroupMembersResponse =
|
|
331
|
+
export type ListGroupMembersResponse = ListGroupMembersResult;
|
|
335
332
|
/**
|
|
336
|
-
*
|
|
333
|
+
* Request body accepted by `b2_reserve_trial_create_account`.
|
|
337
334
|
*
|
|
338
335
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
339
336
|
*/
|
|
340
|
-
export interface
|
|
337
|
+
export interface ReserveTrialCreateAccountRequest {
|
|
341
338
|
/** Email address for the new B2 reserve trial account. */
|
|
342
339
|
readonly email: string;
|
|
343
340
|
/** Region for the new account's data, or null to let Backblaze choose. */
|
|
@@ -348,20 +345,15 @@ export interface ReserveTrialCreateAccountRequestEntry {
|
|
|
348
345
|
readonly storage: number;
|
|
349
346
|
}
|
|
350
347
|
/**
|
|
351
|
-
*
|
|
352
|
-
* The Partner API requires at least one request entry per call.
|
|
348
|
+
* Request element type for caller-managed batches of single-account requests.
|
|
353
349
|
*
|
|
354
350
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
355
351
|
*/
|
|
356
|
-
export type
|
|
357
|
-
ReserveTrialCreateAccountRequestEntry,
|
|
358
|
-
...ReserveTrialCreateAccountRequestEntry[]
|
|
359
|
-
];
|
|
352
|
+
export type ReserveTrialCreateAccountRequestEntry = ReserveTrialCreateAccountRequest;
|
|
360
353
|
/**
|
|
361
354
|
* Single result element returned by `b2_reserve_trial_create_account`.
|
|
362
355
|
*
|
|
363
|
-
* The `b2_reserve_trial_create_account` wire response is
|
|
364
|
-
* these objects.
|
|
356
|
+
* The `b2_reserve_trial_create_account` wire response is one JSON object.
|
|
365
357
|
*
|
|
366
358
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
367
359
|
*/
|
|
@@ -386,9 +378,9 @@ export interface ReserveTrialCreateAccountResult {
|
|
|
386
378
|
readonly bucketId: BucketId;
|
|
387
379
|
}
|
|
388
380
|
/**
|
|
389
|
-
*
|
|
381
|
+
* Single-object wire response from `b2_reserve_trial_create_account`.
|
|
390
382
|
*
|
|
391
383
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
392
384
|
*/
|
|
393
|
-
export type ReserveTrialCreateAccountResponse =
|
|
385
|
+
export type ReserveTrialCreateAccountResponse = ReserveTrialCreateAccountResult;
|
|
394
386
|
//# sourceMappingURL=partner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.d.ts","sourceRoot":"","sources":["../../src/types/partner.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5F,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EA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AAE,QAAQ,CAAA;CAC5B;AAED;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,+BAA+B,CAAA"}
|
package/dist/types/partner.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ export interface PartnerGroupMember {
|
|
|
142
142
|
/**
|
|
143
143
|
* Single result element returned by `b2_create_group_member`.
|
|
144
144
|
*
|
|
145
|
-
* The `b2_create_group_member` wire response is
|
|
145
|
+
* The `b2_create_group_member` wire response is one JSON object.
|
|
146
146
|
*
|
|
147
147
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
148
148
|
*/
|
|
@@ -155,11 +155,11 @@ export interface CreateGroupMemberResult {
|
|
|
155
155
|
readonly groupMember: PartnerGroupMember;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* Single-object wire response from `b2_create_group_member`.
|
|
159
159
|
*
|
|
160
160
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
161
161
|
*/
|
|
162
|
-
export type CreateGroupMemberResponse =
|
|
162
|
+
export type CreateGroupMemberResponse = CreateGroupMemberResult;
|
|
163
163
|
/**
|
|
164
164
|
* Request parameters for `b2_eject_group_member`.
|
|
165
165
|
*
|
|
@@ -184,9 +184,6 @@ export type EjectGroupMemberResult = PartnerGroupMember;
|
|
|
184
184
|
/**
|
|
185
185
|
* Single-object wire response from `b2_eject_group_member`.
|
|
186
186
|
*
|
|
187
|
-
* B2 returns one ejected-member object (not an array), unlike
|
|
188
|
-
* `b2_create_group_member` which returns an array.
|
|
189
|
-
*
|
|
190
187
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
191
188
|
*/
|
|
192
189
|
export type EjectGroupMemberResponse = EjectGroupMemberResult;
|
|
@@ -208,21 +205,21 @@ export interface ListGroupsRequest {
|
|
|
208
205
|
/**
|
|
209
206
|
* B2 storage statistics returned for partner groups and group members.
|
|
210
207
|
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
208
|
+
* Live `b2_list_groups` and `b2_list_group_members` responses return the count
|
|
209
|
+
* fields as JSON numbers (matching the Partner docs), and the daily-snapshot
|
|
210
|
+
* timestamp as a B2 `dYYYYMMDD_mHHMMSS` string.
|
|
214
211
|
*
|
|
215
212
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
216
213
|
*/
|
|
217
214
|
export interface PartnerB2Stats {
|
|
218
|
-
/** Total bytes stored as
|
|
219
|
-
readonly b2BytesStoredCount:
|
|
220
|
-
/** Total files stored as
|
|
221
|
-
readonly b2FilesStoredCount:
|
|
222
|
-
/**
|
|
215
|
+
/** Total bytes stored, as an integer count. */
|
|
216
|
+
readonly b2BytesStoredCount: number;
|
|
217
|
+
/** Total files stored, as an integer count. */
|
|
218
|
+
readonly b2FilesStoredCount: number;
|
|
219
|
+
/** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for the daily B2 statistics snapshot, or null if unavailable. */
|
|
223
220
|
readonly b2StatsAsOfTimestamp: string | null;
|
|
224
|
-
/** Total bucket count as
|
|
225
|
-
readonly bucketCount:
|
|
221
|
+
/** Total bucket count, as an integer count. */
|
|
222
|
+
readonly bucketCount: number;
|
|
226
223
|
}
|
|
227
224
|
/**
|
|
228
225
|
* Account standing information for a partner group.
|
|
@@ -239,9 +236,9 @@ export interface PartnerAccountStandingDetails {
|
|
|
239
236
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
240
237
|
*/
|
|
241
238
|
export interface PartnerGroupStats {
|
|
242
|
-
/**
|
|
239
|
+
/** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for when the group was created. */
|
|
243
240
|
readonly createdTimestamp: string;
|
|
244
|
-
/**
|
|
241
|
+
/** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for the last update to the group's statistics. */
|
|
245
242
|
readonly groupStatsAsOfTimestamp: string;
|
|
246
243
|
/** Total number of accepted members in the group. */
|
|
247
244
|
readonly memberCount: number;
|
|
@@ -254,7 +251,7 @@ export interface PartnerGroupStats {
|
|
|
254
251
|
export interface PartnerGroup {
|
|
255
252
|
/** Account standing information for the group. */
|
|
256
253
|
readonly accountStandingDetails: PartnerAccountStandingDetails;
|
|
257
|
-
/** B2 storage statistics for the group. Count fields are
|
|
254
|
+
/** B2 storage statistics for the group. Count fields are integer numbers. */
|
|
258
255
|
readonly b2Stats: PartnerB2Stats;
|
|
259
256
|
/** Unique ID of the group. */
|
|
260
257
|
readonly groupId: GroupId;
|
|
@@ -282,7 +279,7 @@ export interface ListGroupsResult {
|
|
|
282
279
|
* Single-object wire response from `b2_list_groups`.
|
|
283
280
|
*
|
|
284
281
|
* B2 returns one object with `accountId`, `groups`, and the `nextGroupId`
|
|
285
|
-
* cursor
|
|
282
|
+
* cursor, not an array. `b2_list_group_members` is likewise a single object.
|
|
286
283
|
*
|
|
287
284
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
288
285
|
*/
|
|
@@ -308,11 +305,11 @@ export interface ListGroupMembersRequest {
|
|
|
308
305
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
309
306
|
*/
|
|
310
307
|
export interface ListedGroupMember extends PartnerGroupMember {
|
|
311
|
-
/** B2 storage statistics for the member. Count fields are
|
|
308
|
+
/** B2 storage statistics for the member. Count fields are integer numbers. */
|
|
312
309
|
readonly b2Stats: PartnerB2Stats;
|
|
313
310
|
}
|
|
314
311
|
/**
|
|
315
|
-
*
|
|
312
|
+
* One page of members for a group, returned by `b2_list_group_members`.
|
|
316
313
|
*
|
|
317
314
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
318
315
|
*/
|
|
@@ -327,17 +324,17 @@ export interface ListGroupMembersResult {
|
|
|
327
324
|
readonly groupMembers: readonly ListedGroupMember[];
|
|
328
325
|
}
|
|
329
326
|
/**
|
|
330
|
-
*
|
|
327
|
+
* Single-object wire response from `b2_list_group_members`.
|
|
331
328
|
*
|
|
332
329
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
333
330
|
*/
|
|
334
|
-
export type ListGroupMembersResponse =
|
|
331
|
+
export type ListGroupMembersResponse = ListGroupMembersResult;
|
|
335
332
|
/**
|
|
336
|
-
*
|
|
333
|
+
* Request body accepted by `b2_reserve_trial_create_account`.
|
|
337
334
|
*
|
|
338
335
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
339
336
|
*/
|
|
340
|
-
export interface
|
|
337
|
+
export interface ReserveTrialCreateAccountRequest {
|
|
341
338
|
/** Email address for the new B2 reserve trial account. */
|
|
342
339
|
readonly email: string;
|
|
343
340
|
/** Region for the new account's data, or null to let Backblaze choose. */
|
|
@@ -348,20 +345,15 @@ export interface ReserveTrialCreateAccountRequestEntry {
|
|
|
348
345
|
readonly storage: number;
|
|
349
346
|
}
|
|
350
347
|
/**
|
|
351
|
-
*
|
|
352
|
-
* The Partner API requires at least one request entry per call.
|
|
348
|
+
* Request element type for caller-managed batches of single-account requests.
|
|
353
349
|
*
|
|
354
350
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
355
351
|
*/
|
|
356
|
-
export type
|
|
357
|
-
ReserveTrialCreateAccountRequestEntry,
|
|
358
|
-
...ReserveTrialCreateAccountRequestEntry[]
|
|
359
|
-
];
|
|
352
|
+
export type ReserveTrialCreateAccountRequestEntry = ReserveTrialCreateAccountRequest;
|
|
360
353
|
/**
|
|
361
354
|
* Single result element returned by `b2_reserve_trial_create_account`.
|
|
362
355
|
*
|
|
363
|
-
* The `b2_reserve_trial_create_account` wire response is
|
|
364
|
-
* these objects.
|
|
356
|
+
* The `b2_reserve_trial_create_account` wire response is one JSON object.
|
|
365
357
|
*
|
|
366
358
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
367
359
|
*/
|
|
@@ -386,9 +378,9 @@ export interface ReserveTrialCreateAccountResult {
|
|
|
386
378
|
readonly bucketId: BucketId;
|
|
387
379
|
}
|
|
388
380
|
/**
|
|
389
|
-
*
|
|
381
|
+
* Single-object wire response from `b2_reserve_trial_create_account`.
|
|
390
382
|
*
|
|
391
383
|
* @experimental Partner API surface; shape may change as the Partner API docs evolve.
|
|
392
384
|
*/
|
|
393
|
-
export type ReserveTrialCreateAccountResponse =
|
|
385
|
+
export type ReserveTrialCreateAccountResponse = ReserveTrialCreateAccountResult;
|
|
394
386
|
//# sourceMappingURL=partner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.d.ts","sourceRoot":"","sources":["../../src/types/partner.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5F,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5D;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;IAC5B,6EAA6E;;CAErE,CAAA;AAEV,4FAA4F;AAC5F,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAA;AAE1F;;GAEG;AACH,eAAO,MAAM,MAAM;IACjB,sBAAsB;;IAEtB,sBAAsB;;IAEtB,0BAA0B;;IAE1B,yBAAyB;;CAEjB,CAAA;AAEV,+DAA+D;AAC/D,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAA;AAEzD,2EAA2E;AAC3E,MAAM,WAAW,oBAAoB;IACnC,qFAAqF;IACrF,QAAQ,CAAC,YAAY,EAAE,SAAS,iBAAiB,EAAE,CAAA;IACnD,sCAAsC;IACtC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,gEAAgE;IAChE,QAAQ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AA+B;IAC9C,gEAAgE;IAChE,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;IAC7B,gFAAgF;IAChF,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;IAC/B,8CAA8C;IAC9C,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAA;IAC3C,yDAAyD;IACzD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,6DAA6D;IAC7D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,gEAAgE;IAChE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,8DAA8D;IAC9D,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAA;CAC5B;AAED;;;;GAIG;AACH,MAAM,MAAM,iCAAiC,GAAG,+BAA+B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.js","names":[],"sources":["../../src/types/partner.ts"],"sourcesContent":["import type { Capability } from './auth.ts'\nimport type { AccountId, ApplicationKeyId, BucketId, GroupId, PartnerToken } from './ids.ts'\n\nexport type { ComputerId, GroupId, PartnerToken } from './ids.ts'\nexport { computerId, groupId, partnerToken } from './ids.ts'\n\n/**\n * Named constants for Partner API and Computer Backup API capabilities.\n *\n * Partner grant sets are separate from the storage-facing capability set. The\n * Partner and Backup authorization surfaces currently document the full-access\n * grant as `all`.\n */\nexport const PartnerCapability = {\n /** Full Partner API or Computer Backup API access for the authorized key. */\n All: 'all',\n} as const\n\n/** Partner API or Computer Backup API capability derived from {@link PartnerCapability}. */\nexport type PartnerCapability = (typeof PartnerCapability)[keyof typeof PartnerCapability]\n\n/**\n * Named constants for Backblaze regions accepted by Partner API account-creation endpoints.\n */\nexport const Region = {\n /** US East region. */\n UsEast: 'us-east',\n /** US West region. */\n UsWest: 'us-west',\n /** Canada East region. */\n CaEast: 'ca-east',\n /** EU Central region. */\n EuCentral: 'eu-central',\n} as const\n\n/** Backblaze region identifier derived from {@link Region}. */\nexport type Region = (typeof Region)[keyof typeof Region]\n\n/** Partner API endpoint information returned by `b2_authorize_account`. */\nexport interface PartnerGroupsApiInfo {\n /** Capabilities granted for Partner API calls, currently documented as `['all']`. */\n readonly capabilities: readonly PartnerCapability[]\n /** Base URL for Partner API calls. */\n readonly groupsApiUrl: string\n /** Discriminator indicating this is Partner API information. */\n readonly infoType: 'groupsApi'\n}\n\n/** Computer Backup API endpoint information returned by `b2_authorize_account`. */\nexport interface PartnerBackupApiInfo {\n /** Capabilities granted for Computer Backup API calls, currently documented as `['all']`. */\n readonly capabilities: readonly PartnerCapability[]\n /** Base URL for Computer Backup API calls. */\n readonly backupApiUrl: string\n /** Discriminator indicating this is Computer Backup API information. */\n readonly infoType: 'backupApi'\n}\n\n/** Storage API endpoint information returned alongside Partner authorization details. */\nexport interface PartnerStorageApiInfo {\n /** Minimum allowed part size for large file uploads, in bytes. */\n readonly absoluteMinimumPartSize: number\n /** Base URL for B2 Native API calls. */\n readonly apiUrl: string\n /** Bucket ID this key is restricted to, or null if unrestricted. */\n readonly bucketId: BucketId | null\n /** Bucket name this key is restricted to, or null if unrestricted or unavailable. */\n readonly bucketName: string | null\n /** Storage API capabilities granted to this key. */\n readonly capabilities: readonly Capability[]\n /** Base URL for file downloads. */\n readonly downloadUrl: string\n /** Discriminator indicating this is storage API information. */\n readonly infoType: 'storageApi'\n /** File name prefix this key is restricted to, or null if unrestricted. */\n readonly namePrefix: string | null\n /** Recommended part size for large file uploads, in bytes. */\n readonly recommendedPartSize: number\n /** Base URL for the S3-compatible API. */\n readonly s3ApiUrl: string\n}\n\n/**\n * API-specific information needed by Partner and Computer Backup API clients.\n * At least one of `groupsApi` or `backupApi` is present in a normalized\n * Partner authorization response. Suite URLs and capabilities in this object\n * are the authoritative values; flattened fields on\n * {@link PartnerAuthorizeResponse} are convenience mirrors.\n */\nexport interface PartnerApiInfo {\n /** B2 Native API configuration returned with Partner authorization details when storage is enabled. */\n readonly storageApi?: PartnerStorageApiInfo\n /** Partner API configuration, present when the authorized account has Partner API access. */\n readonly groupsApi?: PartnerGroupsApiInfo\n /** Computer Backup API configuration, present when the authorized account has Backup API access. */\n readonly backupApi?: PartnerBackupApiInfo\n}\n\n/** Response from Partner-oriented `b2_authorize_account`. */\nexport interface PartnerAuthorizeResponse {\n /** Account ID for the authorized partner administrator. */\n readonly accountId: AccountId\n /** Authorization token to use for Partner API and Computer Backup API requests. Do not log this secret value. */\n readonly authorizationToken: PartnerToken\n /** Suite-shaped API information returned by `b2_authorize_account`; authoritative for suite URLs and capabilities. */\n readonly apiInfo: PartnerApiInfo\n /** Convenience mirror of `apiInfo.groupsApi.groupsApiUrl` when the Partner suite is enabled. */\n readonly groupsApiUrl?: string\n /** Convenience mirror of `apiInfo.backupApi.backupApiUrl` when the Backup suite is enabled. */\n readonly backupApiUrl?: string\n /** Convenience mirror of `apiInfo.groupsApi.capabilities` when the Partner suite is enabled. */\n readonly groupsCapabilities?: readonly PartnerCapability[]\n /** Convenience mirror of `apiInfo.backupApi.capabilities` when the Backup suite is enabled. */\n readonly backupCapabilities?: readonly PartnerCapability[]\n /** Expiration timestamp of the application key in milliseconds, or null if the key does not expire. */\n readonly applicationKeyExpirationTimestamp: number | null\n}\n\n/**\n * Request parameters for `b2_create_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface CreateGroupMemberRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Group ID that the new Backblaze account will join. */\n readonly groupId: GroupId\n /** Email address for the new group member account. */\n readonly memberEmail: string\n /** Region for the new account's data, or null to use the current default region. */\n readonly region?: Region | null\n}\n\n/**\n * Group member fields returned by Partner API membership operations.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerGroupMember {\n /** Account ID for the group member. Group member account IDs reuse the SDK's existing AccountId brand. */\n readonly accountId: AccountId\n /** Email address of the group member account. */\n readonly email: string\n /** Group ID that contains the member. */\n readonly groupId: GroupId\n /** Name of the group that contains the member. */\n readonly groupName: string\n /** Region where the group member account's data resides. */\n readonly region: Region\n /** S3-compatible endpoint domain for the group member account. */\n readonly s3Endpoint: string\n}\n\n/**\n * Single result element returned by `b2_create_group_member`.\n *\n * The `b2_create_group_member` wire response is a JSON array of these objects.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface CreateGroupMemberResult {\n /** Application key ID for the new group member account. */\n readonly applicationKeyId: ApplicationKeyId\n /** Application key secret for the new group member account. Do not log this secret value. */\n readonly applicationKey: string\n /** Newly created group member account details. */\n readonly groupMember: PartnerGroupMember\n}\n\n/**\n * Array-shaped wire response from `b2_create_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type CreateGroupMemberResponse = readonly CreateGroupMemberResult[]\n\n/**\n * Request parameters for `b2_eject_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface EjectGroupMemberRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Group ID that currently contains the member. */\n readonly groupId: GroupId\n /** Account ID of the group member being ejected. */\n readonly memberAccountId: AccountId\n /** Replacement email for the ejected account, or null to keep the current email address. */\n readonly email?: string | null\n}\n\n/**\n * Single result element returned by `b2_eject_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type EjectGroupMemberResult = PartnerGroupMember\n\n/**\n * Single-object wire response from `b2_eject_group_member`.\n *\n * B2 returns one ejected-member object (not an array), unlike\n * `b2_create_group_member` which returns an array.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type EjectGroupMemberResponse = EjectGroupMemberResult\n\n/**\n * Request parameters for `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupsRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Optional group name filter. Multiple groups may share the same name. */\n readonly groupName?: string\n /** Group ID to start listing from for pagination. */\n readonly startGroupId?: GroupId\n /** Maximum number of groups to return. The documented range is 1 through 100. */\n readonly maxGroupCount?: number\n}\n\n/**\n * B2 storage statistics returned for partner groups and group members.\n *\n * The Partner API currently returns count fields as JSON strings even though\n * they are numeric-looking values. The SDK preserves those decimal strings\n * instead of normalizing them to numbers.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerB2Stats {\n /** Total bytes stored as a decimal string. */\n readonly b2BytesStoredCount: string\n /** Total files stored as a decimal string. */\n readonly b2FilesStoredCount: string\n /** ISO 8601 UTC date-time string for the daily B2 statistics snapshot, or null if unavailable. */\n readonly b2StatsAsOfTimestamp: string | null\n /** Total bucket count as a decimal string. */\n readonly bucketCount: string\n}\n\n/**\n * Account standing information for a partner group.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerAccountStandingDetails {\n /** Account standing state reported by the Partner API. */\n readonly state: string\n}\n\n/**\n * Daily group statistics returned by `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerGroupStats {\n /** ISO 8601 UTC date-time string for when the group was created. */\n readonly createdTimestamp: string\n /** ISO 8601 UTC date-time string for the last update to the group's statistics. */\n readonly groupStatsAsOfTimestamp: string\n /** Total number of accepted members in the group. */\n readonly memberCount: number\n}\n\n/**\n * Group record returned by `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerGroup {\n /** Account standing information for the group. */\n readonly accountStandingDetails: PartnerAccountStandingDetails\n /** B2 storage statistics for the group. Count fields are preserved as decimal strings. */\n readonly b2Stats: PartnerB2Stats\n /** Unique ID of the group. */\n readonly groupId: GroupId\n /** Human-readable group name. */\n readonly groupName: string\n /** Products enabled for the group, such as `BACKUP` or `STORAGE`. */\n readonly groupProducts: readonly string[]\n /** Daily aggregate statistics for the group. */\n readonly groupStats: PartnerGroupStats\n}\n\n/**\n * Single result element returned by `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupsResult {\n /** Account ID for the group administrator whose groups were listed. */\n readonly accountId: AccountId\n /** Groups matching the request. */\n readonly groups: readonly PartnerGroup[]\n /** Next group ID to use for pagination, or null if all groups have been listed. */\n readonly nextGroupId: GroupId | null\n}\n\n/**\n * Single-object wire response from `b2_list_groups`.\n *\n * B2 returns one object with `accountId`, `groups`, and the `nextGroupId`\n * cursor (not an array), unlike `b2_list_group_members` which returns an array.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ListGroupsResponse = ListGroupsResult\n\n/**\n * Request parameters for `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupMembersRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Group ID whose active members should be listed. */\n readonly groupId: GroupId\n /** First member email address to return for pagination. */\n readonly startEmail?: string\n /** Maximum number of group members to return. The documented maximum is 1000. */\n readonly maxMemberCount?: number\n}\n\n/**\n * Group member record returned by `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListedGroupMember extends PartnerGroupMember {\n /** B2 storage statistics for the member. Count fields are preserved as decimal strings. */\n readonly b2Stats: PartnerB2Stats\n}\n\n/**\n * Single result element returned by `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupMembersResult {\n /** Group ID whose members were listed. */\n readonly groupId: GroupId\n /** Human-readable group name. */\n readonly groupName: string\n /** Next email address to use for pagination, or null if all members have been listed. */\n readonly nextEmail: string | null\n /** Active accepted group members matching the request. */\n readonly groupMembers: readonly ListedGroupMember[]\n}\n\n/**\n * Array-shaped wire response from `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ListGroupMembersResponse = readonly ListGroupMembersResult[]\n\n/**\n * Single request element accepted by `b2_reserve_trial_create_account`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ReserveTrialCreateAccountRequestEntry {\n /** Email address for the new B2 reserve trial account. */\n readonly email: string\n /** Region for the new account's data, or null to let Backblaze choose. */\n readonly region?: Region | null\n /** Trial duration in days. The documented range is 7 through 30. */\n readonly term: number\n /** Trial storage amount in TB. The documented range is 1 through 50. */\n readonly storage: number\n}\n\n/**\n * Array-shaped wire request body for `b2_reserve_trial_create_account`.\n * The Partner API requires at least one request entry per call.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ReserveTrialCreateAccountRequest = readonly [\n ReserveTrialCreateAccountRequestEntry,\n ...ReserveTrialCreateAccountRequestEntry[],\n]\n\n/**\n * Single result element returned by `b2_reserve_trial_create_account`.\n *\n * The `b2_reserve_trial_create_account` wire response is a JSON array of\n * these objects.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ReserveTrialCreateAccountResult {\n /** Account ID of the newly created B2 reserve trial account. */\n readonly accountId: AccountId\n /** Application key secret for the new account. Do not log this secret value. */\n readonly applicationKey: string\n /** Application key ID for the new account. */\n readonly applicationKeyId: ApplicationKeyId\n /** S3-compatible endpoint domain for the new account. */\n readonly s3Endpoint: string\n /** Trial start date in ISO 8601 `yyyy-MM-dd` format in UTC. */\n readonly startDate: string\n /** Trial end date in ISO 8601 `yyyy-MM-dd` format in UTC. */\n readonly endDate: string\n /** Email address for the new B2 reserve trial account. */\n readonly email: string\n /** Bucket name accessible with the returned application key. */\n readonly bucketName: string\n /** Bucket ID accessible with the returned application key. */\n readonly bucketId: BucketId\n}\n\n/**\n * Array-shaped wire response from `b2_reserve_trial_create_account`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ReserveTrialCreateAccountResponse = readonly ReserveTrialCreateAccountResult[]\n"],"mappings":";;;;;;;;;AAaA,IAAa,oBAAoB;;AAE/B,KAAK,MACP;;;;AAQA,IAAa,SAAS;;CAEpB,QAAQ;;CAER,QAAQ;;CAER,QAAQ;;CAER,WAAW;AACb"}
|
|
1
|
+
{"version":3,"file":"partner.js","names":[],"sources":["../../src/types/partner.ts"],"sourcesContent":["import type { Capability } from './auth.ts'\nimport type { AccountId, ApplicationKeyId, BucketId, GroupId, PartnerToken } from './ids.ts'\n\nexport type { ComputerId, GroupId, PartnerToken } from './ids.ts'\nexport { computerId, groupId, partnerToken } from './ids.ts'\n\n/**\n * Named constants for Partner API and Computer Backup API capabilities.\n *\n * Partner grant sets are separate from the storage-facing capability set. The\n * Partner and Backup authorization surfaces currently document the full-access\n * grant as `all`.\n */\nexport const PartnerCapability = {\n /** Full Partner API or Computer Backup API access for the authorized key. */\n All: 'all',\n} as const\n\n/** Partner API or Computer Backup API capability derived from {@link PartnerCapability}. */\nexport type PartnerCapability = (typeof PartnerCapability)[keyof typeof PartnerCapability]\n\n/**\n * Named constants for Backblaze regions accepted by Partner API account-creation endpoints.\n */\nexport const Region = {\n /** US East region. */\n UsEast: 'us-east',\n /** US West region. */\n UsWest: 'us-west',\n /** Canada East region. */\n CaEast: 'ca-east',\n /** EU Central region. */\n EuCentral: 'eu-central',\n} as const\n\n/** Backblaze region identifier derived from {@link Region}. */\nexport type Region = (typeof Region)[keyof typeof Region]\n\n/** Partner API endpoint information returned by `b2_authorize_account`. */\nexport interface PartnerGroupsApiInfo {\n /** Capabilities granted for Partner API calls, currently documented as `['all']`. */\n readonly capabilities: readonly PartnerCapability[]\n /** Base URL for Partner API calls. */\n readonly groupsApiUrl: string\n /** Discriminator indicating this is Partner API information. */\n readonly infoType: 'groupsApi'\n}\n\n/** Computer Backup API endpoint information returned by `b2_authorize_account`. */\nexport interface PartnerBackupApiInfo {\n /** Capabilities granted for Computer Backup API calls, currently documented as `['all']`. */\n readonly capabilities: readonly PartnerCapability[]\n /** Base URL for Computer Backup API calls. */\n readonly backupApiUrl: string\n /** Discriminator indicating this is Computer Backup API information. */\n readonly infoType: 'backupApi'\n}\n\n/** Storage API endpoint information returned alongside Partner authorization details. */\nexport interface PartnerStorageApiInfo {\n /** Minimum allowed part size for large file uploads, in bytes. */\n readonly absoluteMinimumPartSize: number\n /** Base URL for B2 Native API calls. */\n readonly apiUrl: string\n /** Bucket ID this key is restricted to, or null if unrestricted. */\n readonly bucketId: BucketId | null\n /** Bucket name this key is restricted to, or null if unrestricted or unavailable. */\n readonly bucketName: string | null\n /** Storage API capabilities granted to this key. */\n readonly capabilities: readonly Capability[]\n /** Base URL for file downloads. */\n readonly downloadUrl: string\n /** Discriminator indicating this is storage API information. */\n readonly infoType: 'storageApi'\n /** File name prefix this key is restricted to, or null if unrestricted. */\n readonly namePrefix: string | null\n /** Recommended part size for large file uploads, in bytes. */\n readonly recommendedPartSize: number\n /** Base URL for the S3-compatible API. */\n readonly s3ApiUrl: string\n}\n\n/**\n * API-specific information needed by Partner and Computer Backup API clients.\n * At least one of `groupsApi` or `backupApi` is present in a normalized\n * Partner authorization response. Suite URLs and capabilities in this object\n * are the authoritative values; flattened fields on\n * {@link PartnerAuthorizeResponse} are convenience mirrors.\n */\nexport interface PartnerApiInfo {\n /** B2 Native API configuration returned with Partner authorization details when storage is enabled. */\n readonly storageApi?: PartnerStorageApiInfo\n /** Partner API configuration, present when the authorized account has Partner API access. */\n readonly groupsApi?: PartnerGroupsApiInfo\n /** Computer Backup API configuration, present when the authorized account has Backup API access. */\n readonly backupApi?: PartnerBackupApiInfo\n}\n\n/** Response from Partner-oriented `b2_authorize_account`. */\nexport interface PartnerAuthorizeResponse {\n /** Account ID for the authorized partner administrator. */\n readonly accountId: AccountId\n /** Authorization token to use for Partner API and Computer Backup API requests. Do not log this secret value. */\n readonly authorizationToken: PartnerToken\n /** Suite-shaped API information returned by `b2_authorize_account`; authoritative for suite URLs and capabilities. */\n readonly apiInfo: PartnerApiInfo\n /** Convenience mirror of `apiInfo.groupsApi.groupsApiUrl` when the Partner suite is enabled. */\n readonly groupsApiUrl?: string\n /** Convenience mirror of `apiInfo.backupApi.backupApiUrl` when the Backup suite is enabled. */\n readonly backupApiUrl?: string\n /** Convenience mirror of `apiInfo.groupsApi.capabilities` when the Partner suite is enabled. */\n readonly groupsCapabilities?: readonly PartnerCapability[]\n /** Convenience mirror of `apiInfo.backupApi.capabilities` when the Backup suite is enabled. */\n readonly backupCapabilities?: readonly PartnerCapability[]\n /** Expiration timestamp of the application key in milliseconds, or null if the key does not expire. */\n readonly applicationKeyExpirationTimestamp: number | null\n}\n\n/**\n * Request parameters for `b2_create_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface CreateGroupMemberRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Group ID that the new Backblaze account will join. */\n readonly groupId: GroupId\n /** Email address for the new group member account. */\n readonly memberEmail: string\n /** Region for the new account's data, or null to use the current default region. */\n readonly region?: Region | null\n}\n\n/**\n * Group member fields returned by Partner API membership operations.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerGroupMember {\n /** Account ID for the group member. Group member account IDs reuse the SDK's existing AccountId brand. */\n readonly accountId: AccountId\n /** Email address of the group member account. */\n readonly email: string\n /** Group ID that contains the member. */\n readonly groupId: GroupId\n /** Name of the group that contains the member. */\n readonly groupName: string\n /** Region where the group member account's data resides. */\n readonly region: Region\n /** S3-compatible endpoint domain for the group member account. */\n readonly s3Endpoint: string\n}\n\n/**\n * Single result element returned by `b2_create_group_member`.\n *\n * The `b2_create_group_member` wire response is one JSON object.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface CreateGroupMemberResult {\n /** Application key ID for the new group member account. */\n readonly applicationKeyId: ApplicationKeyId\n /** Application key secret for the new group member account. Do not log this secret value. */\n readonly applicationKey: string\n /** Newly created group member account details. */\n readonly groupMember: PartnerGroupMember\n}\n\n/**\n * Single-object wire response from `b2_create_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type CreateGroupMemberResponse = CreateGroupMemberResult\n\n/**\n * Request parameters for `b2_eject_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface EjectGroupMemberRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Group ID that currently contains the member. */\n readonly groupId: GroupId\n /** Account ID of the group member being ejected. */\n readonly memberAccountId: AccountId\n /** Replacement email for the ejected account, or null to keep the current email address. */\n readonly email?: string | null\n}\n\n/**\n * Single result element returned by `b2_eject_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type EjectGroupMemberResult = PartnerGroupMember\n\n/**\n * Single-object wire response from `b2_eject_group_member`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type EjectGroupMemberResponse = EjectGroupMemberResult\n\n/**\n * Request parameters for `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupsRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Optional group name filter. Multiple groups may share the same name. */\n readonly groupName?: string\n /** Group ID to start listing from for pagination. */\n readonly startGroupId?: GroupId\n /** Maximum number of groups to return. The documented range is 1 through 100. */\n readonly maxGroupCount?: number\n}\n\n/**\n * B2 storage statistics returned for partner groups and group members.\n *\n * Live `b2_list_groups` and `b2_list_group_members` responses return the count\n * fields as JSON numbers (matching the Partner docs), and the daily-snapshot\n * timestamp as a B2 `dYYYYMMDD_mHHMMSS` string.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerB2Stats {\n /** Total bytes stored, as an integer count. */\n readonly b2BytesStoredCount: number\n /** Total files stored, as an integer count. */\n readonly b2FilesStoredCount: number\n /** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for the daily B2 statistics snapshot, or null if unavailable. */\n readonly b2StatsAsOfTimestamp: string | null\n /** Total bucket count, as an integer count. */\n readonly bucketCount: number\n}\n\n/**\n * Account standing information for a partner group.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerAccountStandingDetails {\n /** Account standing state reported by the Partner API. */\n readonly state: string\n}\n\n/**\n * Daily group statistics returned by `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerGroupStats {\n /** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for when the group was created. */\n readonly createdTimestamp: string\n /** B2 `dYYYYMMDD_mHHMMSS` UTC timestamp for the last update to the group's statistics. */\n readonly groupStatsAsOfTimestamp: string\n /** Total number of accepted members in the group. */\n readonly memberCount: number\n}\n\n/**\n * Group record returned by `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface PartnerGroup {\n /** Account standing information for the group. */\n readonly accountStandingDetails: PartnerAccountStandingDetails\n /** B2 storage statistics for the group. Count fields are integer numbers. */\n readonly b2Stats: PartnerB2Stats\n /** Unique ID of the group. */\n readonly groupId: GroupId\n /** Human-readable group name. */\n readonly groupName: string\n /** Products enabled for the group, such as `BACKUP` or `STORAGE`. */\n readonly groupProducts: readonly string[]\n /** Daily aggregate statistics for the group. */\n readonly groupStats: PartnerGroupStats\n}\n\n/**\n * Single result element returned by `b2_list_groups`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupsResult {\n /** Account ID for the group administrator whose groups were listed. */\n readonly accountId: AccountId\n /** Groups matching the request. */\n readonly groups: readonly PartnerGroup[]\n /** Next group ID to use for pagination, or null if all groups have been listed. */\n readonly nextGroupId: GroupId | null\n}\n\n/**\n * Single-object wire response from `b2_list_groups`.\n *\n * B2 returns one object with `accountId`, `groups`, and the `nextGroupId`\n * cursor, not an array. `b2_list_group_members` is likewise a single object.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ListGroupsResponse = ListGroupsResult\n\n/**\n * Request parameters for `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupMembersRequest {\n /** Account ID of the group administrator authorized for the Partner API. */\n readonly adminAccountId: AccountId\n /** Group ID whose active members should be listed. */\n readonly groupId: GroupId\n /** First member email address to return for pagination. */\n readonly startEmail?: string\n /** Maximum number of group members to return. The documented maximum is 1000. */\n readonly maxMemberCount?: number\n}\n\n/**\n * Group member record returned by `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListedGroupMember extends PartnerGroupMember {\n /** B2 storage statistics for the member. Count fields are integer numbers. */\n readonly b2Stats: PartnerB2Stats\n}\n\n/**\n * One page of members for a group, returned by `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ListGroupMembersResult {\n /** Group ID whose members were listed. */\n readonly groupId: GroupId\n /** Human-readable group name. */\n readonly groupName: string\n /** Next email address to use for pagination, or null if all members have been listed. */\n readonly nextEmail: string | null\n /** Active accepted group members matching the request. */\n readonly groupMembers: readonly ListedGroupMember[]\n}\n\n/**\n * Single-object wire response from `b2_list_group_members`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ListGroupMembersResponse = ListGroupMembersResult\n\n/**\n * Request body accepted by `b2_reserve_trial_create_account`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ReserveTrialCreateAccountRequest {\n /** Email address for the new B2 reserve trial account. */\n readonly email: string\n /** Region for the new account's data, or null to let Backblaze choose. */\n readonly region?: Region | null\n /** Trial duration in days. The documented range is 7 through 30. */\n readonly term: number\n /** Trial storage amount in TB. The documented range is 1 through 50. */\n readonly storage: number\n}\n\n/**\n * Request element type for caller-managed batches of single-account requests.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ReserveTrialCreateAccountRequestEntry = ReserveTrialCreateAccountRequest\n\n/**\n * Single result element returned by `b2_reserve_trial_create_account`.\n *\n * The `b2_reserve_trial_create_account` wire response is one JSON object.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport interface ReserveTrialCreateAccountResult {\n /** Account ID of the newly created B2 reserve trial account. */\n readonly accountId: AccountId\n /** Application key secret for the new account. Do not log this secret value. */\n readonly applicationKey: string\n /** Application key ID for the new account. */\n readonly applicationKeyId: ApplicationKeyId\n /** S3-compatible endpoint domain for the new account. */\n readonly s3Endpoint: string\n /** Trial start date in ISO 8601 `yyyy-MM-dd` format in UTC. */\n readonly startDate: string\n /** Trial end date in ISO 8601 `yyyy-MM-dd` format in UTC. */\n readonly endDate: string\n /** Email address for the new B2 reserve trial account. */\n readonly email: string\n /** Bucket name accessible with the returned application key. */\n readonly bucketName: string\n /** Bucket ID accessible with the returned application key. */\n readonly bucketId: BucketId\n}\n\n/**\n * Single-object wire response from `b2_reserve_trial_create_account`.\n *\n * @experimental Partner API surface; shape may change as the Partner API docs evolve.\n */\nexport type ReserveTrialCreateAccountResponse = ReserveTrialCreateAccountResult\n"],"mappings":";;;;;;;;;AAaA,IAAa,oBAAoB;;AAE/B,KAAK,MACP;;;;AAQA,IAAa,SAAS;;CAEpB,QAAQ;;CAER,QAAQ;;CAER,QAAQ;;CAER,WAAW;AACb"}
|
package/dist/types/upload.d.cts
CHANGED
|
@@ -20,6 +20,10 @@ export interface GetUploadUrlResponse {
|
|
|
20
20
|
/**
|
|
21
21
|
* Headers required when uploading a file via `b2_upload_file`.
|
|
22
22
|
* Sent as HTTP headers on the upload POST request.
|
|
23
|
+
*
|
|
24
|
+
* Pass `contentDisposition`, `contentLanguage`, `expires`, `cacheControl`, and
|
|
25
|
+
* `contentEncoding` as raw (unencoded) download-header values. The SDK
|
|
26
|
+
* percent-encodes them as B2 file-info metadata when uploading.
|
|
23
27
|
*/
|
|
24
28
|
export interface UploadFileHeaders {
|
|
25
29
|
/** Authorization token from `b2_get_upload_url`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/types/upload.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,YAAY,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAEzE,+DAA+D;AAC/D,MAAM,WAAW,mBAAmB;IAClC,uCAAuC;IACvC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAA;CAC5B;AAED,qGAAqG;AACrG,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAA;IAC3B,gCAAgC;IAChC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,4DAA4D;IAC5D,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;CACpC;AAED
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/types/upload.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACrD,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACr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,yCAAyC;IACzC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC/B;AAED,2DAA2D;AAC3D,MAAM,WAAW,QAAQ;IACvB,iDAAiD;IACjD,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAA;IAC5B,yCAAyC;IACzC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,kCAAkC;IAClC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;IAC9B,6CAA6C;IAC7C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,qEAAqE;IACrE,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,mDAAmD;IACnD,QAAQ,CAAC,oBAAoB,EAAE,uBAAuB,CAAA;IACtD,gEAAgE;IAChE,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CACjC;AAED,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC,+BAA+B;IAC/B,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAA;IACnC,qFAAqF;IACrF,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;CACvC"}
|
package/dist/types/upload.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ export interface GetUploadUrlResponse {
|
|
|
20
20
|
/**
|
|
21
21
|
* Headers required when uploading a file via `b2_upload_file`.
|
|
22
22
|
* Sent as HTTP headers on the upload POST request.
|
|
23
|
+
*
|
|
24
|
+
* Pass `contentDisposition`, `contentLanguage`, `expires`, `cacheControl`, and
|
|
25
|
+
* `contentEncoding` as raw (unencoded) download-header values. The SDK
|
|
26
|
+
* percent-encodes them as B2 file-info metadata when uploading.
|
|
23
27
|
*/
|
|
24
28
|
export interface UploadFileHeaders {
|
|
25
29
|
/** Authorization token from `b2_get_upload_url`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/types/upload.js"],"names":[],"mappings":"A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