@repome/sdk 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +201 -29
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -4214,7 +4214,7 @@ declare const contract: {
|
|
|
4214
4214
|
git: {
|
|
4215
4215
|
refs: {
|
|
4216
4216
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4217
|
-
orgSlug: ZodOptional<ZodString
|
|
4217
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
4218
4218
|
name: ZodString;
|
|
4219
4219
|
cursor: ZodOptional<ZodString>;
|
|
4220
4220
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -4385,7 +4385,7 @@ declare const contract: {
|
|
|
4385
4385
|
};
|
|
4386
4386
|
}>, Record<never, never>>;
|
|
4387
4387
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4388
|
-
orgSlug: ZodOptional<ZodString
|
|
4388
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
4389
4389
|
name: ZodString;
|
|
4390
4390
|
ref: ZodString;
|
|
4391
4391
|
}, $strip>, ZodObject<{
|
|
@@ -4553,7 +4553,7 @@ declare const contract: {
|
|
|
4553
4553
|
};
|
|
4554
4554
|
branches: {
|
|
4555
4555
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4556
|
-
orgSlug: ZodOptional<ZodString
|
|
4556
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
4557
4557
|
name: ZodString;
|
|
4558
4558
|
cursor: ZodOptional<ZodString>;
|
|
4559
4559
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -4724,7 +4724,7 @@ declare const contract: {
|
|
|
4724
4724
|
};
|
|
4725
4725
|
}>, Record<never, never>>;
|
|
4726
4726
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4727
|
-
orgSlug: ZodOptional<ZodString
|
|
4727
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
4728
4728
|
name: ZodString;
|
|
4729
4729
|
ref: ZodString;
|
|
4730
4730
|
}, $strip>, ZodObject<{
|
|
@@ -4890,7 +4890,7 @@ declare const contract: {
|
|
|
4890
4890
|
};
|
|
4891
4891
|
}>, Record<never, never>>;
|
|
4892
4892
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
4893
|
-
orgSlug: ZodOptional<ZodString
|
|
4893
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
4894
4894
|
name: ZodString;
|
|
4895
4895
|
branch: ZodString;
|
|
4896
4896
|
fromRef: ZodString;
|
|
@@ -5057,7 +5057,7 @@ declare const contract: {
|
|
|
5057
5057
|
};
|
|
5058
5058
|
}>, Record<never, never>>;
|
|
5059
5059
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5060
|
-
orgSlug: ZodOptional<ZodString
|
|
5060
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
5061
5061
|
name: ZodString;
|
|
5062
5062
|
ref: ZodString;
|
|
5063
5063
|
oid: ZodString;
|
|
@@ -5227,7 +5227,7 @@ declare const contract: {
|
|
|
5227
5227
|
};
|
|
5228
5228
|
}>, Record<never, never>>;
|
|
5229
5229
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5230
|
-
orgSlug: ZodOptional<ZodString
|
|
5230
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
5231
5231
|
name: ZodString;
|
|
5232
5232
|
ref: ZodString;
|
|
5233
5233
|
expectedOid: ZodOptional<ZodString>;
|
|
@@ -5390,7 +5390,7 @@ declare const contract: {
|
|
|
5390
5390
|
};
|
|
5391
5391
|
tags: {
|
|
5392
5392
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5393
|
-
orgSlug: ZodOptional<ZodString
|
|
5393
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
5394
5394
|
name: ZodString;
|
|
5395
5395
|
cursor: ZodOptional<ZodString>;
|
|
5396
5396
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -5561,7 +5561,7 @@ declare const contract: {
|
|
|
5561
5561
|
};
|
|
5562
5562
|
}>, Record<never, never>>;
|
|
5563
5563
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5564
|
-
orgSlug: ZodOptional<ZodString
|
|
5564
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
5565
5565
|
name: ZodString;
|
|
5566
5566
|
ref: ZodString;
|
|
5567
5567
|
}, $strip>, ZodObject<{
|
|
@@ -5727,7 +5727,7 @@ declare const contract: {
|
|
|
5727
5727
|
};
|
|
5728
5728
|
}>, Record<never, never>>;
|
|
5729
5729
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5730
|
-
orgSlug: ZodOptional<ZodString
|
|
5730
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
5731
5731
|
name: ZodString;
|
|
5732
5732
|
tag: ZodString;
|
|
5733
5733
|
oid: ZodString;
|
|
@@ -5901,7 +5901,7 @@ declare const contract: {
|
|
|
5901
5901
|
};
|
|
5902
5902
|
}>, Record<never, never>>;
|
|
5903
5903
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
5904
|
-
orgSlug: ZodOptional<ZodString
|
|
5904
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
5905
5905
|
name: ZodString;
|
|
5906
5906
|
ref: ZodString;
|
|
5907
5907
|
}, $strip>, ZodObject<{
|
|
@@ -6063,7 +6063,7 @@ declare const contract: {
|
|
|
6063
6063
|
};
|
|
6064
6064
|
commits: {
|
|
6065
6065
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6066
|
-
orgSlug: ZodOptional<ZodString
|
|
6066
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
6067
6067
|
name: ZodString;
|
|
6068
6068
|
cursor: ZodOptional<ZodString>;
|
|
6069
6069
|
limit: ZodDefault<ZodNumber>;
|
|
@@ -6233,7 +6233,7 @@ declare const contract: {
|
|
|
6233
6233
|
};
|
|
6234
6234
|
}>, Record<never, never>>;
|
|
6235
6235
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6236
|
-
orgSlug: ZodOptional<ZodString
|
|
6236
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
6237
6237
|
name: ZodString;
|
|
6238
6238
|
oid: ZodString;
|
|
6239
6239
|
}, $strip>, ZodObject<{
|
|
@@ -6397,7 +6397,7 @@ declare const contract: {
|
|
|
6397
6397
|
};
|
|
6398
6398
|
}>, Record<never, never>>;
|
|
6399
6399
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6400
|
-
orgSlug: ZodOptional<ZodString
|
|
6400
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
6401
6401
|
name: ZodString;
|
|
6402
6402
|
ref: ZodString;
|
|
6403
6403
|
message: ZodString;
|
|
@@ -6590,7 +6590,7 @@ declare const contract: {
|
|
|
6590
6590
|
};
|
|
6591
6591
|
tree: {
|
|
6592
6592
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6593
|
-
orgSlug: ZodOptional<ZodString
|
|
6593
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
6594
6594
|
name: ZodString;
|
|
6595
6595
|
ref: ZodDefault<ZodString>;
|
|
6596
6596
|
path: ZodOptional<ZodString>;
|
|
@@ -6766,7 +6766,7 @@ declare const contract: {
|
|
|
6766
6766
|
};
|
|
6767
6767
|
blob: {
|
|
6768
6768
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6769
|
-
orgSlug: ZodOptional<ZodString
|
|
6769
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
6770
6770
|
name: ZodString;
|
|
6771
6771
|
oid: ZodString;
|
|
6772
6772
|
}, $strip>, ZodUnion<readonly [ZodObject<{
|
|
@@ -6935,7 +6935,7 @@ declare const contract: {
|
|
|
6935
6935
|
};
|
|
6936
6936
|
workspace: {
|
|
6937
6937
|
commit: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
6938
|
-
orgSlug: ZodOptional<ZodString
|
|
6938
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
6939
6939
|
name: ZodString;
|
|
6940
6940
|
ref: ZodDefault<ZodString>;
|
|
6941
6941
|
message: ZodString;
|
|
@@ -7131,7 +7131,7 @@ declare const contract: {
|
|
|
7131
7131
|
}>, Record<never, never>>;
|
|
7132
7132
|
};
|
|
7133
7133
|
compare: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
7134
|
-
orgSlug: ZodOptional<ZodString
|
|
7134
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
7135
7135
|
name: ZodString;
|
|
7136
7136
|
base: ZodString;
|
|
7137
7137
|
head: ZodString;
|
|
@@ -7317,7 +7317,7 @@ declare const contract: {
|
|
|
7317
7317
|
};
|
|
7318
7318
|
}>, Record<never, never>>;
|
|
7319
7319
|
diff: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
7320
|
-
orgSlug: ZodOptional<ZodString
|
|
7320
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
7321
7321
|
name: ZodString;
|
|
7322
7322
|
base: ZodString;
|
|
7323
7323
|
head: ZodString;
|
|
@@ -9051,6 +9051,176 @@ declare const contract: {
|
|
|
9051
9051
|
}, $strip>;
|
|
9052
9052
|
};
|
|
9053
9053
|
}>, Record<never, never>>;
|
|
9054
|
+
listInvitations: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9055
|
+
orgSlug: ZodString;
|
|
9056
|
+
}, $strip>, ZodObject<{
|
|
9057
|
+
items: ZodArray<ZodObject<{
|
|
9058
|
+
id: ZodString;
|
|
9059
|
+
organizationId: ZodString;
|
|
9060
|
+
email: ZodString;
|
|
9061
|
+
role: ZodUnion<[ZodEnum<{
|
|
9062
|
+
admin: "admin";
|
|
9063
|
+
member: "member";
|
|
9064
|
+
}>, ZodLiteral<"owner">]>;
|
|
9065
|
+
status: ZodString;
|
|
9066
|
+
inviterId: ZodString;
|
|
9067
|
+
expiresAt: ZodNumber;
|
|
9068
|
+
createdAt: ZodNumber;
|
|
9069
|
+
}, $strip>>;
|
|
9070
|
+
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
9071
|
+
readonly BAD_REQUEST: {
|
|
9072
|
+
readonly status: 400;
|
|
9073
|
+
readonly message: "Bad request";
|
|
9074
|
+
readonly data: ZodOptional<ZodObject<{}, $strip>>;
|
|
9075
|
+
};
|
|
9076
|
+
readonly UNAUTHENTICATED: {
|
|
9077
|
+
readonly status: 401;
|
|
9078
|
+
readonly message: "Sign in required";
|
|
9079
|
+
readonly data: ZodOptional<ZodObject<{}, $strip>>;
|
|
9080
|
+
};
|
|
9081
|
+
readonly TOO_MANY_REQUESTS: {
|
|
9082
|
+
readonly status: 429;
|
|
9083
|
+
readonly message: "Too many requests";
|
|
9084
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9085
|
+
retryAfterMs: ZodOptional<ZodNumber>;
|
|
9086
|
+
}, $strip>>;
|
|
9087
|
+
};
|
|
9088
|
+
readonly FORBIDDEN: {
|
|
9089
|
+
readonly status: 403;
|
|
9090
|
+
readonly message: "You do not have access to this resource";
|
|
9091
|
+
readonly data: ZodOptional<ZodObject<{
|
|
9092
|
+
reason: ZodOptional<ZodEnum<{
|
|
9093
|
+
not_a_member: "not_a_member";
|
|
9094
|
+
insufficient_role: "insufficient_role";
|
|
9095
|
+
scope_missing: "scope_missing";
|
|
9096
|
+
}>>;
|
|
9097
|
+
}, $strip>>;
|
|
9098
|
+
};
|
|
9099
|
+
readonly INVITATION_NOT_FOUND: {
|
|
9100
|
+
readonly status: 404;
|
|
9101
|
+
readonly message: "Invitation not found";
|
|
9102
|
+
readonly data: ZodObject<{
|
|
9103
|
+
invitationId: ZodString;
|
|
9104
|
+
}, $strip>;
|
|
9105
|
+
};
|
|
9106
|
+
readonly KEY_NOT_FOUND: {
|
|
9107
|
+
readonly status: 404;
|
|
9108
|
+
readonly message: "API key not found";
|
|
9109
|
+
readonly data: ZodObject<{
|
|
9110
|
+
id: ZodString;
|
|
9111
|
+
}, $strip>;
|
|
9112
|
+
};
|
|
9113
|
+
readonly REPO_NOT_FOUND: {
|
|
9114
|
+
readonly status: 404;
|
|
9115
|
+
readonly message: "Repo not found";
|
|
9116
|
+
readonly data: ZodObject<{
|
|
9117
|
+
name: ZodString;
|
|
9118
|
+
}, $strip>;
|
|
9119
|
+
};
|
|
9120
|
+
readonly GIT_OBJECT_NOT_FOUND: {
|
|
9121
|
+
readonly status: 404;
|
|
9122
|
+
readonly message: "Git object not found";
|
|
9123
|
+
readonly data: ZodObject<{
|
|
9124
|
+
name: ZodString;
|
|
9125
|
+
object: ZodString;
|
|
9126
|
+
}, $strip>;
|
|
9127
|
+
};
|
|
9128
|
+
readonly REF_ALREADY_EXISTS: {
|
|
9129
|
+
readonly status: 409;
|
|
9130
|
+
readonly message: "Git ref already exists";
|
|
9131
|
+
readonly data: ZodObject<{
|
|
9132
|
+
name: ZodString;
|
|
9133
|
+
ref: ZodString;
|
|
9134
|
+
}, $strip>;
|
|
9135
|
+
};
|
|
9136
|
+
readonly STALE_REF: {
|
|
9137
|
+
readonly status: 409;
|
|
9138
|
+
readonly message: "Git ref is stale";
|
|
9139
|
+
readonly data: ZodObject<{
|
|
9140
|
+
name: ZodString;
|
|
9141
|
+
ref: ZodString;
|
|
9142
|
+
}, $strip>;
|
|
9143
|
+
};
|
|
9144
|
+
readonly NON_FAST_FORWARD: {
|
|
9145
|
+
readonly status: 422;
|
|
9146
|
+
readonly message: "Git ref update is not a fast-forward";
|
|
9147
|
+
readonly data: ZodObject<{
|
|
9148
|
+
name: ZodString;
|
|
9149
|
+
ref: ZodString;
|
|
9150
|
+
}, $strip>;
|
|
9151
|
+
};
|
|
9152
|
+
readonly INVALID_TREE: {
|
|
9153
|
+
readonly status: 422;
|
|
9154
|
+
readonly message: "Invalid git tree";
|
|
9155
|
+
readonly data: ZodObject<{
|
|
9156
|
+
name: ZodString;
|
|
9157
|
+
object: ZodString;
|
|
9158
|
+
}, $strip>;
|
|
9159
|
+
};
|
|
9160
|
+
readonly INVALID_PARENT: {
|
|
9161
|
+
readonly status: 422;
|
|
9162
|
+
readonly message: "Invalid git parent";
|
|
9163
|
+
readonly data: ZodObject<{
|
|
9164
|
+
name: ZodString;
|
|
9165
|
+
object: ZodString;
|
|
9166
|
+
}, $strip>;
|
|
9167
|
+
};
|
|
9168
|
+
readonly INVARIANT_WORKSPACE_REQUIRED: {
|
|
9169
|
+
readonly status: 503;
|
|
9170
|
+
readonly message: "Repo workspace is required for this git operation";
|
|
9171
|
+
readonly data: ZodObject<{
|
|
9172
|
+
name: ZodString;
|
|
9173
|
+
}, $strip>;
|
|
9174
|
+
};
|
|
9175
|
+
readonly GIT_REMOTE_WRITE_FAILED: {
|
|
9176
|
+
readonly status: 502;
|
|
9177
|
+
readonly message: "Git remote write failed";
|
|
9178
|
+
readonly data: ZodObject<{
|
|
9179
|
+
name: ZodString;
|
|
9180
|
+
ref: ZodString;
|
|
9181
|
+
}, $strip>;
|
|
9182
|
+
};
|
|
9183
|
+
readonly REPO_ALREADY_EXISTS: {
|
|
9184
|
+
readonly status: 409;
|
|
9185
|
+
readonly message: "Repo already exists";
|
|
9186
|
+
readonly data: ZodObject<{
|
|
9187
|
+
name: ZodString;
|
|
9188
|
+
}, $strip>;
|
|
9189
|
+
};
|
|
9190
|
+
readonly QUOTA_EXCEEDED: {
|
|
9191
|
+
readonly status: 429;
|
|
9192
|
+
readonly message: "Quota exceeded";
|
|
9193
|
+
readonly data: ZodObject<{
|
|
9194
|
+
scope: ZodEnum<{
|
|
9195
|
+
anon: "anon";
|
|
9196
|
+
org: "org";
|
|
9197
|
+
size: "size";
|
|
9198
|
+
}>;
|
|
9199
|
+
limit: ZodNumber;
|
|
9200
|
+
observed: ZodOptional<ZodNumber>;
|
|
9201
|
+
projected: ZodOptional<ZodNumber>;
|
|
9202
|
+
}, $strip>;
|
|
9203
|
+
};
|
|
9204
|
+
readonly PAYLOAD_TOO_LARGE: {
|
|
9205
|
+
readonly status: 413;
|
|
9206
|
+
readonly message: "Request payload exceeds the supported limit";
|
|
9207
|
+
readonly data: ZodObject<{
|
|
9208
|
+
scope: ZodEnum<{
|
|
9209
|
+
workspace_commit: "workspace_commit";
|
|
9210
|
+
git_workspace_memory: "git_workspace_memory";
|
|
9211
|
+
}>;
|
|
9212
|
+
limit: ZodNumber;
|
|
9213
|
+
observed: ZodOptional<ZodNumber>;
|
|
9214
|
+
}, $strip>;
|
|
9215
|
+
};
|
|
9216
|
+
readonly IMPORT_FAILED: {
|
|
9217
|
+
readonly status: 502;
|
|
9218
|
+
readonly message: "Repo import failed";
|
|
9219
|
+
readonly data: ZodObject<{
|
|
9220
|
+
name: ZodString;
|
|
9221
|
+
}, $strip>;
|
|
9222
|
+
};
|
|
9223
|
+
}>, Record<never, never>>;
|
|
9054
9224
|
invite: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
9055
9225
|
orgSlug: ZodString;
|
|
9056
9226
|
email: ZodEmail;
|
|
@@ -10033,7 +10203,7 @@ declare const contract: {
|
|
|
10033
10203
|
};
|
|
10034
10204
|
repos: {
|
|
10035
10205
|
create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10036
|
-
orgSlug: ZodOptional<ZodString
|
|
10206
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
10037
10207
|
name: ZodString;
|
|
10038
10208
|
description: ZodOptional<ZodString>;
|
|
10039
10209
|
defaultBranch: ZodDefault<ZodString>;
|
|
@@ -10052,6 +10222,7 @@ declare const contract: {
|
|
|
10052
10222
|
createdAt: ZodNumber;
|
|
10053
10223
|
updatedAt: ZodNumber;
|
|
10054
10224
|
token: ZodString;
|
|
10225
|
+
tokenScope: ZodLiteral<"read">;
|
|
10055
10226
|
tokenExpiresAt: ZodString;
|
|
10056
10227
|
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
10057
10228
|
readonly BAD_REQUEST: {
|
|
@@ -10208,7 +10379,7 @@ declare const contract: {
|
|
|
10208
10379
|
};
|
|
10209
10380
|
}>, Record<never, never>>;
|
|
10210
10381
|
importFromGitHub: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10211
|
-
orgSlug: ZodOptional<ZodString
|
|
10382
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
10212
10383
|
name: ZodString;
|
|
10213
10384
|
description: ZodOptional<ZodString>;
|
|
10214
10385
|
defaultBranch: ZodDefault<ZodString>;
|
|
@@ -10228,6 +10399,7 @@ declare const contract: {
|
|
|
10228
10399
|
createdAt: ZodNumber;
|
|
10229
10400
|
updatedAt: ZodNumber;
|
|
10230
10401
|
token: ZodString;
|
|
10402
|
+
tokenScope: ZodLiteral<"read">;
|
|
10231
10403
|
tokenExpiresAt: ZodString;
|
|
10232
10404
|
}, $strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
10233
10405
|
readonly BAD_REQUEST: {
|
|
@@ -10384,7 +10556,7 @@ declare const contract: {
|
|
|
10384
10556
|
};
|
|
10385
10557
|
}>, Record<never, never>>;
|
|
10386
10558
|
ensure: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10387
|
-
orgSlug: ZodOptional<ZodString
|
|
10559
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
10388
10560
|
name: ZodString;
|
|
10389
10561
|
description: ZodOptional<ZodString>;
|
|
10390
10562
|
defaultBranch: ZodDefault<ZodString>;
|
|
@@ -10560,7 +10732,7 @@ declare const contract: {
|
|
|
10560
10732
|
};
|
|
10561
10733
|
}>, Record<never, never>>;
|
|
10562
10734
|
get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10563
|
-
orgSlug: ZodOptional<ZodString
|
|
10735
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
10564
10736
|
name: ZodString;
|
|
10565
10737
|
}, $strip>, ZodObject<{
|
|
10566
10738
|
orgId: ZodString;
|
|
@@ -10731,7 +10903,7 @@ declare const contract: {
|
|
|
10731
10903
|
};
|
|
10732
10904
|
}>, Record<never, never>>;
|
|
10733
10905
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10734
|
-
orgSlug: ZodOptional<ZodString
|
|
10906
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
10735
10907
|
cursor: ZodOptional<ZodString>;
|
|
10736
10908
|
limit: ZodDefault<ZodNumber>;
|
|
10737
10909
|
}, $strip>, ZodObject<{
|
|
@@ -10906,7 +11078,7 @@ declare const contract: {
|
|
|
10906
11078
|
};
|
|
10907
11079
|
}>, Record<never, never>>;
|
|
10908
11080
|
update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
10909
|
-
orgSlug: ZodOptional<ZodString
|
|
11081
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
10910
11082
|
name: ZodString;
|
|
10911
11083
|
description: ZodOptional<ZodNullable<ZodString>>;
|
|
10912
11084
|
defaultBranch: ZodOptional<ZodString>;
|
|
@@ -11079,7 +11251,7 @@ declare const contract: {
|
|
|
11079
11251
|
};
|
|
11080
11252
|
}>, Record<never, never>>;
|
|
11081
11253
|
delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11082
|
-
orgSlug: ZodOptional<ZodString
|
|
11254
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
11083
11255
|
name: ZodString;
|
|
11084
11256
|
}, $strip>, ZodObject<{
|
|
11085
11257
|
deleted: ZodLiteral<true>;
|
|
@@ -11240,7 +11412,7 @@ declare const contract: {
|
|
|
11240
11412
|
};
|
|
11241
11413
|
tokens: {
|
|
11242
11414
|
mint: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11243
|
-
orgSlug: ZodOptional<ZodString
|
|
11415
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
11244
11416
|
name: ZodString;
|
|
11245
11417
|
scope: ZodEnum<{
|
|
11246
11418
|
read: "read";
|
|
@@ -11593,7 +11765,7 @@ declare const contract: {
|
|
|
11593
11765
|
};
|
|
11594
11766
|
}>, Record<never, never>>;
|
|
11595
11767
|
list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11596
|
-
orgSlug: ZodOptional<ZodString
|
|
11768
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
11597
11769
|
name: ZodString;
|
|
11598
11770
|
}, $strip>, ZodObject<{
|
|
11599
11771
|
items: ZodArray<ZodObject<{
|
|
@@ -11766,7 +11938,7 @@ declare const contract: {
|
|
|
11766
11938
|
};
|
|
11767
11939
|
}>, Record<never, never>>;
|
|
11768
11940
|
revoke: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<ZodObject<{
|
|
11769
|
-
orgSlug: ZodOptional<ZodString
|
|
11941
|
+
orgSlug: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<"~">]>>;
|
|
11770
11942
|
name: ZodString;
|
|
11771
11943
|
id: ZodString;
|
|
11772
11944
|
}, $strip>, ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repome/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Agent-native, GitHub-shaped forge — JavaScript SDK. Write files, commit, and push from any runtime with no clone required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@orpc/client": "^1.14.2",
|
|
39
39
|
"@orpc/contract": "^1.14.2",
|
|
40
|
-
"@repome/api": "0.1.
|
|
40
|
+
"@repome/api": "0.1.9"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^25.6.1",
|