basecamp-client 1.0.9 → 1.0.11
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 +1468 -390
- package/dist/index.d.ts +1468 -390
- package/dist/index.js +172 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +172 -93
- package/dist/index.mjs.map +1 -1
- package/openapi.json +1027 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1713,7 +1713,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
1713
1713
|
query: {
|
|
1714
1714
|
page?: number | undefined;
|
|
1715
1715
|
status?: string | undefined;
|
|
1716
|
-
completed?:
|
|
1716
|
+
completed?: true | undefined;
|
|
1717
1717
|
} | undefined;
|
|
1718
1718
|
params: {
|
|
1719
1719
|
bucketId: number;
|
|
@@ -8471,11 +8471,11 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8471
8471
|
headers: Headers;
|
|
8472
8472
|
}>;
|
|
8473
8473
|
};
|
|
8474
|
-
|
|
8474
|
+
questionAnswers: {
|
|
8475
8475
|
list: (args: {
|
|
8476
8476
|
params: {
|
|
8477
8477
|
bucketId: number;
|
|
8478
|
-
|
|
8478
|
+
questionId: number;
|
|
8479
8479
|
};
|
|
8480
8480
|
cache?: RequestCache | undefined;
|
|
8481
8481
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -8496,7 +8496,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8496
8496
|
}) => Promise<{
|
|
8497
8497
|
status: 200;
|
|
8498
8498
|
body: {
|
|
8499
|
-
type: "
|
|
8499
|
+
type: "Question::Answer";
|
|
8500
8500
|
status: string;
|
|
8501
8501
|
id: number;
|
|
8502
8502
|
title: string;
|
|
@@ -8536,6 +8536,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8536
8536
|
} | undefined;
|
|
8537
8537
|
};
|
|
8538
8538
|
content: string;
|
|
8539
|
+
group_on: string;
|
|
8539
8540
|
bookmark_url?: string | undefined;
|
|
8540
8541
|
subscription_url?: string | undefined;
|
|
8541
8542
|
comments_count?: number | undefined;
|
|
@@ -8554,7 +8555,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8554
8555
|
get: (args: {
|
|
8555
8556
|
params: {
|
|
8556
8557
|
bucketId: number;
|
|
8557
|
-
|
|
8558
|
+
answerId: number;
|
|
8558
8559
|
};
|
|
8559
8560
|
cache?: RequestCache | undefined;
|
|
8560
8561
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -8572,7 +8573,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8572
8573
|
}) => Promise<{
|
|
8573
8574
|
status: 200;
|
|
8574
8575
|
body: {
|
|
8575
|
-
type: "
|
|
8576
|
+
type: "Question::Answer";
|
|
8576
8577
|
status: string;
|
|
8577
8578
|
id: number;
|
|
8578
8579
|
title: string;
|
|
@@ -8612,6 +8613,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8612
8613
|
} | undefined;
|
|
8613
8614
|
};
|
|
8614
8615
|
content: string;
|
|
8616
|
+
group_on: string;
|
|
8615
8617
|
bookmark_url?: string | undefined;
|
|
8616
8618
|
subscription_url?: string | undefined;
|
|
8617
8619
|
comments_count?: number | undefined;
|
|
@@ -8630,12 +8632,11 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8630
8632
|
create: (args: {
|
|
8631
8633
|
params: {
|
|
8632
8634
|
bucketId: number;
|
|
8633
|
-
|
|
8635
|
+
questionId: number;
|
|
8634
8636
|
};
|
|
8635
8637
|
body: {
|
|
8636
|
-
title: string;
|
|
8637
8638
|
content: string;
|
|
8638
|
-
|
|
8639
|
+
group_on: string;
|
|
8639
8640
|
};
|
|
8640
8641
|
cache?: RequestCache | undefined;
|
|
8641
8642
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -8653,7 +8654,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8653
8654
|
}) => Promise<{
|
|
8654
8655
|
status: 201;
|
|
8655
8656
|
body: {
|
|
8656
|
-
type: "
|
|
8657
|
+
type: "Question::Answer";
|
|
8657
8658
|
status: string;
|
|
8658
8659
|
id: number;
|
|
8659
8660
|
title: string;
|
|
@@ -8693,6 +8694,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8693
8694
|
} | undefined;
|
|
8694
8695
|
};
|
|
8695
8696
|
content: string;
|
|
8697
|
+
group_on: string;
|
|
8696
8698
|
bookmark_url?: string | undefined;
|
|
8697
8699
|
subscription_url?: string | undefined;
|
|
8698
8700
|
comments_count?: number | undefined;
|
|
@@ -8708,10 +8710,12 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8708
8710
|
};
|
|
8709
8711
|
headers: Headers;
|
|
8710
8712
|
}>;
|
|
8711
|
-
|
|
8713
|
+
};
|
|
8714
|
+
documents: {
|
|
8715
|
+
list: (args: {
|
|
8712
8716
|
params: {
|
|
8713
8717
|
bucketId: number;
|
|
8714
|
-
|
|
8718
|
+
vaultId: number;
|
|
8715
8719
|
};
|
|
8716
8720
|
cache?: RequestCache | undefined;
|
|
8717
8721
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -8721,15 +8725,14 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8721
8725
|
"user-agent"?: undefined;
|
|
8722
8726
|
} & Record<string, string | undefined>) | undefined;
|
|
8723
8727
|
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
8728
|
+
query?: {
|
|
8729
|
+
page?: number | undefined;
|
|
8730
|
+
} | undefined;
|
|
8724
8731
|
headers?: {
|
|
8725
8732
|
accept?: "application/json" | undefined;
|
|
8726
8733
|
authorization?: string | undefined;
|
|
8727
8734
|
"user-agent"?: string | undefined;
|
|
8728
8735
|
} | undefined;
|
|
8729
|
-
body?: {
|
|
8730
|
-
title?: string | undefined;
|
|
8731
|
-
content?: string | undefined;
|
|
8732
|
-
} | undefined;
|
|
8733
8736
|
}) => Promise<{
|
|
8734
8737
|
status: 200;
|
|
8735
8738
|
body: {
|
|
@@ -8785,10 +8788,10 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8785
8788
|
url: string;
|
|
8786
8789
|
app_url: string;
|
|
8787
8790
|
} | undefined;
|
|
8788
|
-
};
|
|
8791
|
+
}[];
|
|
8789
8792
|
headers: Headers;
|
|
8790
8793
|
}>;
|
|
8791
|
-
|
|
8794
|
+
get: (args: {
|
|
8792
8795
|
params: {
|
|
8793
8796
|
bucketId: number;
|
|
8794
8797
|
documentId: number;
|
|
@@ -8806,38 +8809,10 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8806
8809
|
authorization?: string | undefined;
|
|
8807
8810
|
"user-agent"?: string | undefined;
|
|
8808
8811
|
} | undefined;
|
|
8809
|
-
}) => Promise<{
|
|
8810
|
-
status: 204;
|
|
8811
|
-
body: undefined;
|
|
8812
|
-
headers: Headers;
|
|
8813
|
-
}>;
|
|
8814
|
-
};
|
|
8815
|
-
vaults: {
|
|
8816
|
-
list: (args: {
|
|
8817
|
-
params: {
|
|
8818
|
-
bucketId: number;
|
|
8819
|
-
parentVaultId: number;
|
|
8820
|
-
};
|
|
8821
|
-
cache?: RequestCache | undefined;
|
|
8822
|
-
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
8823
|
-
extraHeaders?: ({
|
|
8824
|
-
accept?: undefined;
|
|
8825
|
-
authorization?: undefined;
|
|
8826
|
-
"user-agent"?: undefined;
|
|
8827
|
-
} & Record<string, string | undefined>) | undefined;
|
|
8828
|
-
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
8829
|
-
query?: {
|
|
8830
|
-
page?: number | undefined;
|
|
8831
|
-
} | undefined;
|
|
8832
|
-
headers?: {
|
|
8833
|
-
accept?: "application/json" | undefined;
|
|
8834
|
-
authorization?: string | undefined;
|
|
8835
|
-
"user-agent"?: string | undefined;
|
|
8836
|
-
} | undefined;
|
|
8837
8812
|
}) => Promise<{
|
|
8838
8813
|
status: 200;
|
|
8839
8814
|
body: {
|
|
8840
|
-
type: "
|
|
8815
|
+
type: "Document";
|
|
8841
8816
|
status: string;
|
|
8842
8817
|
id: number;
|
|
8843
8818
|
title: string;
|
|
@@ -8876,12 +8851,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8876
8851
|
name: string;
|
|
8877
8852
|
} | undefined;
|
|
8878
8853
|
};
|
|
8879
|
-
|
|
8880
|
-
documents_url: string;
|
|
8881
|
-
uploads_count: number;
|
|
8882
|
-
uploads_url: string;
|
|
8883
|
-
vaults_count: number;
|
|
8884
|
-
vaults_url: string;
|
|
8854
|
+
content: string;
|
|
8885
8855
|
bookmark_url?: string | undefined;
|
|
8886
8856
|
subscription_url?: string | undefined;
|
|
8887
8857
|
comments_count?: number | undefined;
|
|
@@ -8894,14 +8864,19 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8894
8864
|
url: string;
|
|
8895
8865
|
app_url: string;
|
|
8896
8866
|
} | undefined;
|
|
8897
|
-
}
|
|
8867
|
+
};
|
|
8898
8868
|
headers: Headers;
|
|
8899
8869
|
}>;
|
|
8900
|
-
|
|
8870
|
+
create: (args: {
|
|
8901
8871
|
params: {
|
|
8902
8872
|
bucketId: number;
|
|
8903
8873
|
vaultId: number;
|
|
8904
8874
|
};
|
|
8875
|
+
body: {
|
|
8876
|
+
title: string;
|
|
8877
|
+
content: string;
|
|
8878
|
+
status?: string | undefined;
|
|
8879
|
+
};
|
|
8905
8880
|
cache?: RequestCache | undefined;
|
|
8906
8881
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
8907
8882
|
extraHeaders?: ({
|
|
@@ -8916,9 +8891,9 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8916
8891
|
"user-agent"?: string | undefined;
|
|
8917
8892
|
} | undefined;
|
|
8918
8893
|
}) => Promise<{
|
|
8919
|
-
status:
|
|
8894
|
+
status: 201;
|
|
8920
8895
|
body: {
|
|
8921
|
-
type: "
|
|
8896
|
+
type: "Document";
|
|
8922
8897
|
status: string;
|
|
8923
8898
|
id: number;
|
|
8924
8899
|
title: string;
|
|
@@ -8957,12 +8932,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8957
8932
|
name: string;
|
|
8958
8933
|
} | undefined;
|
|
8959
8934
|
};
|
|
8960
|
-
|
|
8961
|
-
documents_url: string;
|
|
8962
|
-
uploads_count: number;
|
|
8963
|
-
uploads_url: string;
|
|
8964
|
-
vaults_count: number;
|
|
8965
|
-
vaults_url: string;
|
|
8935
|
+
content: string;
|
|
8966
8936
|
bookmark_url?: string | undefined;
|
|
8967
8937
|
subscription_url?: string | undefined;
|
|
8968
8938
|
comments_count?: number | undefined;
|
|
@@ -8978,13 +8948,10 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8978
8948
|
};
|
|
8979
8949
|
headers: Headers;
|
|
8980
8950
|
}>;
|
|
8981
|
-
|
|
8951
|
+
update: (args: {
|
|
8982
8952
|
params: {
|
|
8983
8953
|
bucketId: number;
|
|
8984
|
-
|
|
8985
|
-
};
|
|
8986
|
-
body: {
|
|
8987
|
-
title: string;
|
|
8954
|
+
documentId: number;
|
|
8988
8955
|
};
|
|
8989
8956
|
cache?: RequestCache | undefined;
|
|
8990
8957
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -8999,10 +8966,14 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
8999
8966
|
authorization?: string | undefined;
|
|
9000
8967
|
"user-agent"?: string | undefined;
|
|
9001
8968
|
} | undefined;
|
|
8969
|
+
body?: {
|
|
8970
|
+
title?: string | undefined;
|
|
8971
|
+
content?: string | undefined;
|
|
8972
|
+
} | undefined;
|
|
9002
8973
|
}) => Promise<{
|
|
9003
|
-
status:
|
|
8974
|
+
status: 200;
|
|
9004
8975
|
body: {
|
|
9005
|
-
type: "
|
|
8976
|
+
type: "Document";
|
|
9006
8977
|
status: string;
|
|
9007
8978
|
id: number;
|
|
9008
8979
|
title: string;
|
|
@@ -9041,12 +9012,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9041
9012
|
name: string;
|
|
9042
9013
|
} | undefined;
|
|
9043
9014
|
};
|
|
9044
|
-
|
|
9045
|
-
documents_url: string;
|
|
9046
|
-
uploads_count: number;
|
|
9047
|
-
uploads_url: string;
|
|
9048
|
-
vaults_count: number;
|
|
9049
|
-
vaults_url: string;
|
|
9015
|
+
content: string;
|
|
9050
9016
|
bookmark_url?: string | undefined;
|
|
9051
9017
|
subscription_url?: string | undefined;
|
|
9052
9018
|
comments_count?: number | undefined;
|
|
@@ -9062,13 +9028,35 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9062
9028
|
};
|
|
9063
9029
|
headers: Headers;
|
|
9064
9030
|
}>;
|
|
9065
|
-
|
|
9031
|
+
trash: (args: {
|
|
9066
9032
|
params: {
|
|
9067
9033
|
bucketId: number;
|
|
9068
|
-
|
|
9034
|
+
documentId: number;
|
|
9069
9035
|
};
|
|
9070
|
-
|
|
9071
|
-
|
|
9036
|
+
cache?: RequestCache | undefined;
|
|
9037
|
+
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
9038
|
+
extraHeaders?: ({
|
|
9039
|
+
accept?: undefined;
|
|
9040
|
+
authorization?: undefined;
|
|
9041
|
+
"user-agent"?: undefined;
|
|
9042
|
+
} & Record<string, string | undefined>) | undefined;
|
|
9043
|
+
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9044
|
+
headers?: {
|
|
9045
|
+
accept?: "application/json" | undefined;
|
|
9046
|
+
authorization?: string | undefined;
|
|
9047
|
+
"user-agent"?: string | undefined;
|
|
9048
|
+
} | undefined;
|
|
9049
|
+
}) => Promise<{
|
|
9050
|
+
status: 204;
|
|
9051
|
+
body: undefined;
|
|
9052
|
+
headers: Headers;
|
|
9053
|
+
}>;
|
|
9054
|
+
};
|
|
9055
|
+
vaults: {
|
|
9056
|
+
list: (args: {
|
|
9057
|
+
params: {
|
|
9058
|
+
bucketId: number;
|
|
9059
|
+
parentVaultId: number;
|
|
9072
9060
|
};
|
|
9073
9061
|
cache?: RequestCache | undefined;
|
|
9074
9062
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -9078,6 +9066,9 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9078
9066
|
"user-agent"?: undefined;
|
|
9079
9067
|
} & Record<string, string | undefined>) | undefined;
|
|
9080
9068
|
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9069
|
+
query?: {
|
|
9070
|
+
page?: number | undefined;
|
|
9071
|
+
} | undefined;
|
|
9081
9072
|
headers?: {
|
|
9082
9073
|
accept?: "application/json" | undefined;
|
|
9083
9074
|
authorization?: string | undefined;
|
|
@@ -9143,35 +9134,10 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9143
9134
|
url: string;
|
|
9144
9135
|
app_url: string;
|
|
9145
9136
|
} | undefined;
|
|
9146
|
-
};
|
|
9147
|
-
headers: Headers;
|
|
9148
|
-
}>;
|
|
9149
|
-
trash: (args: {
|
|
9150
|
-
params: {
|
|
9151
|
-
bucketId: number;
|
|
9152
|
-
vaultId: number;
|
|
9153
|
-
};
|
|
9154
|
-
cache?: RequestCache | undefined;
|
|
9155
|
-
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
9156
|
-
extraHeaders?: ({
|
|
9157
|
-
accept?: undefined;
|
|
9158
|
-
authorization?: undefined;
|
|
9159
|
-
"user-agent"?: undefined;
|
|
9160
|
-
} & Record<string, string | undefined>) | undefined;
|
|
9161
|
-
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9162
|
-
headers?: {
|
|
9163
|
-
accept?: "application/json" | undefined;
|
|
9164
|
-
authorization?: string | undefined;
|
|
9165
|
-
"user-agent"?: string | undefined;
|
|
9166
|
-
} | undefined;
|
|
9167
|
-
}) => Promise<{
|
|
9168
|
-
status: 204;
|
|
9169
|
-
body: undefined;
|
|
9137
|
+
}[];
|
|
9170
9138
|
headers: Headers;
|
|
9171
9139
|
}>;
|
|
9172
|
-
|
|
9173
|
-
uploads: {
|
|
9174
|
-
list: (args: {
|
|
9140
|
+
get: (args: {
|
|
9175
9141
|
params: {
|
|
9176
9142
|
bucketId: number;
|
|
9177
9143
|
vaultId: number;
|
|
@@ -9184,9 +9150,6 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9184
9150
|
"user-agent"?: undefined;
|
|
9185
9151
|
} & Record<string, string | undefined>) | undefined;
|
|
9186
9152
|
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9187
|
-
query?: {
|
|
9188
|
-
page?: number | undefined;
|
|
9189
|
-
} | undefined;
|
|
9190
9153
|
headers?: {
|
|
9191
9154
|
accept?: "application/json" | undefined;
|
|
9192
9155
|
authorization?: string | undefined;
|
|
@@ -9195,7 +9158,7 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9195
9158
|
}) => Promise<{
|
|
9196
9159
|
status: 200;
|
|
9197
9160
|
body: {
|
|
9198
|
-
type: "
|
|
9161
|
+
type: "Vault";
|
|
9199
9162
|
status: string;
|
|
9200
9163
|
id: number;
|
|
9201
9164
|
title: string;
|
|
@@ -9234,11 +9197,12 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9234
9197
|
name: string;
|
|
9235
9198
|
} | undefined;
|
|
9236
9199
|
};
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9200
|
+
documents_count: number;
|
|
9201
|
+
documents_url: string;
|
|
9202
|
+
uploads_count: number;
|
|
9203
|
+
uploads_url: string;
|
|
9204
|
+
vaults_count: number;
|
|
9205
|
+
vaults_url: string;
|
|
9242
9206
|
bookmark_url?: string | undefined;
|
|
9243
9207
|
subscription_url?: string | undefined;
|
|
9244
9208
|
comments_count?: number | undefined;
|
|
@@ -9251,16 +9215,16 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9251
9215
|
url: string;
|
|
9252
9216
|
app_url: string;
|
|
9253
9217
|
} | undefined;
|
|
9254
|
-
|
|
9255
|
-
width?: number | undefined;
|
|
9256
|
-
height?: number | undefined;
|
|
9257
|
-
}[];
|
|
9218
|
+
};
|
|
9258
9219
|
headers: Headers;
|
|
9259
9220
|
}>;
|
|
9260
|
-
|
|
9221
|
+
create: (args: {
|
|
9261
9222
|
params: {
|
|
9262
9223
|
bucketId: number;
|
|
9263
|
-
|
|
9224
|
+
parentVaultId: number;
|
|
9225
|
+
};
|
|
9226
|
+
body: {
|
|
9227
|
+
title: string;
|
|
9264
9228
|
};
|
|
9265
9229
|
cache?: RequestCache | undefined;
|
|
9266
9230
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -9276,9 +9240,9 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9276
9240
|
"user-agent"?: string | undefined;
|
|
9277
9241
|
} | undefined;
|
|
9278
9242
|
}) => Promise<{
|
|
9279
|
-
status:
|
|
9243
|
+
status: 201;
|
|
9280
9244
|
body: {
|
|
9281
|
-
type: "
|
|
9245
|
+
type: "Vault";
|
|
9282
9246
|
status: string;
|
|
9283
9247
|
id: number;
|
|
9284
9248
|
title: string;
|
|
@@ -9317,11 +9281,12 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9317
9281
|
name: string;
|
|
9318
9282
|
} | undefined;
|
|
9319
9283
|
};
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9284
|
+
documents_count: number;
|
|
9285
|
+
documents_url: string;
|
|
9286
|
+
uploads_count: number;
|
|
9287
|
+
uploads_url: string;
|
|
9288
|
+
vaults_count: number;
|
|
9289
|
+
vaults_url: string;
|
|
9325
9290
|
bookmark_url?: string | undefined;
|
|
9326
9291
|
subscription_url?: string | undefined;
|
|
9327
9292
|
comments_count?: number | undefined;
|
|
@@ -9334,21 +9299,16 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9334
9299
|
url: string;
|
|
9335
9300
|
app_url: string;
|
|
9336
9301
|
} | undefined;
|
|
9337
|
-
description?: string | undefined;
|
|
9338
|
-
width?: number | undefined;
|
|
9339
|
-
height?: number | undefined;
|
|
9340
9302
|
};
|
|
9341
9303
|
headers: Headers;
|
|
9342
9304
|
}>;
|
|
9343
|
-
|
|
9305
|
+
update: (args: {
|
|
9344
9306
|
params: {
|
|
9345
9307
|
bucketId: number;
|
|
9346
9308
|
vaultId: number;
|
|
9347
9309
|
};
|
|
9348
9310
|
body: {
|
|
9349
|
-
|
|
9350
|
-
description?: string | undefined;
|
|
9351
|
-
base_name?: string | undefined;
|
|
9311
|
+
title: string;
|
|
9352
9312
|
};
|
|
9353
9313
|
cache?: RequestCache | undefined;
|
|
9354
9314
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -9364,9 +9324,9 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9364
9324
|
"user-agent"?: string | undefined;
|
|
9365
9325
|
} | undefined;
|
|
9366
9326
|
}) => Promise<{
|
|
9367
|
-
status:
|
|
9327
|
+
status: 200;
|
|
9368
9328
|
body: {
|
|
9369
|
-
type: "
|
|
9329
|
+
type: "Vault";
|
|
9370
9330
|
status: string;
|
|
9371
9331
|
id: number;
|
|
9372
9332
|
title: string;
|
|
@@ -9405,11 +9365,12 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9405
9365
|
name: string;
|
|
9406
9366
|
} | undefined;
|
|
9407
9367
|
};
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9368
|
+
documents_count: number;
|
|
9369
|
+
documents_url: string;
|
|
9370
|
+
uploads_count: number;
|
|
9371
|
+
uploads_url: string;
|
|
9372
|
+
vaults_count: number;
|
|
9373
|
+
vaults_url: string;
|
|
9413
9374
|
bookmark_url?: string | undefined;
|
|
9414
9375
|
subscription_url?: string | undefined;
|
|
9415
9376
|
comments_count?: number | undefined;
|
|
@@ -9422,16 +9383,13 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9422
9383
|
url: string;
|
|
9423
9384
|
app_url: string;
|
|
9424
9385
|
} | undefined;
|
|
9425
|
-
description?: string | undefined;
|
|
9426
|
-
width?: number | undefined;
|
|
9427
|
-
height?: number | undefined;
|
|
9428
9386
|
};
|
|
9429
9387
|
headers: Headers;
|
|
9430
9388
|
}>;
|
|
9431
|
-
|
|
9389
|
+
trash: (args: {
|
|
9432
9390
|
params: {
|
|
9433
9391
|
bucketId: number;
|
|
9434
|
-
|
|
9392
|
+
vaultId: number;
|
|
9435
9393
|
};
|
|
9436
9394
|
cache?: RequestCache | undefined;
|
|
9437
9395
|
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
@@ -9446,9 +9404,291 @@ declare function buildClient(options: InitClientOptions): {
|
|
|
9446
9404
|
authorization?: string | undefined;
|
|
9447
9405
|
"user-agent"?: string | undefined;
|
|
9448
9406
|
} | undefined;
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9407
|
+
}) => Promise<{
|
|
9408
|
+
status: 204;
|
|
9409
|
+
body: undefined;
|
|
9410
|
+
headers: Headers;
|
|
9411
|
+
}>;
|
|
9412
|
+
};
|
|
9413
|
+
uploads: {
|
|
9414
|
+
list: (args: {
|
|
9415
|
+
params: {
|
|
9416
|
+
bucketId: number;
|
|
9417
|
+
vaultId: number;
|
|
9418
|
+
};
|
|
9419
|
+
cache?: RequestCache | undefined;
|
|
9420
|
+
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
9421
|
+
extraHeaders?: ({
|
|
9422
|
+
accept?: undefined;
|
|
9423
|
+
authorization?: undefined;
|
|
9424
|
+
"user-agent"?: undefined;
|
|
9425
|
+
} & Record<string, string | undefined>) | undefined;
|
|
9426
|
+
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9427
|
+
query?: {
|
|
9428
|
+
page?: number | undefined;
|
|
9429
|
+
} | undefined;
|
|
9430
|
+
headers?: {
|
|
9431
|
+
accept?: "application/json" | undefined;
|
|
9432
|
+
authorization?: string | undefined;
|
|
9433
|
+
"user-agent"?: string | undefined;
|
|
9434
|
+
} | undefined;
|
|
9435
|
+
}) => Promise<{
|
|
9436
|
+
status: 200;
|
|
9437
|
+
body: {
|
|
9438
|
+
type: "Upload";
|
|
9439
|
+
status: string;
|
|
9440
|
+
id: number;
|
|
9441
|
+
title: string;
|
|
9442
|
+
url: string;
|
|
9443
|
+
app_url: string;
|
|
9444
|
+
created_at: string;
|
|
9445
|
+
updated_at: string;
|
|
9446
|
+
visible_to_clients: boolean;
|
|
9447
|
+
inherits_status: boolean;
|
|
9448
|
+
bucket: {
|
|
9449
|
+
type: string;
|
|
9450
|
+
id: number;
|
|
9451
|
+
name: string;
|
|
9452
|
+
};
|
|
9453
|
+
creator: {
|
|
9454
|
+
id: number;
|
|
9455
|
+
name: string;
|
|
9456
|
+
title: string | null;
|
|
9457
|
+
attachable_sgid: string;
|
|
9458
|
+
email_address: string | null;
|
|
9459
|
+
personable_type: string;
|
|
9460
|
+
bio: string | null;
|
|
9461
|
+
location: string | null;
|
|
9462
|
+
created_at: string;
|
|
9463
|
+
updated_at: string;
|
|
9464
|
+
admin: boolean;
|
|
9465
|
+
owner: boolean;
|
|
9466
|
+
client: boolean;
|
|
9467
|
+
employee: boolean;
|
|
9468
|
+
time_zone: string;
|
|
9469
|
+
avatar_url: string;
|
|
9470
|
+
can_manage_projects: boolean;
|
|
9471
|
+
can_manage_people: boolean;
|
|
9472
|
+
company?: {
|
|
9473
|
+
id: number;
|
|
9474
|
+
name: string;
|
|
9475
|
+
} | undefined;
|
|
9476
|
+
};
|
|
9477
|
+
filename: string;
|
|
9478
|
+
content_type: string;
|
|
9479
|
+
byte_size: number;
|
|
9480
|
+
download_url: string;
|
|
9481
|
+
app_download_url: string;
|
|
9482
|
+
bookmark_url?: string | undefined;
|
|
9483
|
+
subscription_url?: string | undefined;
|
|
9484
|
+
comments_count?: number | undefined;
|
|
9485
|
+
comments_url?: string | undefined;
|
|
9486
|
+
position?: number | undefined;
|
|
9487
|
+
parent?: {
|
|
9488
|
+
type: string;
|
|
9489
|
+
id: number;
|
|
9490
|
+
title: string;
|
|
9491
|
+
url: string;
|
|
9492
|
+
app_url: string;
|
|
9493
|
+
} | undefined;
|
|
9494
|
+
description?: string | undefined;
|
|
9495
|
+
width?: number | undefined;
|
|
9496
|
+
height?: number | undefined;
|
|
9497
|
+
}[];
|
|
9498
|
+
headers: Headers;
|
|
9499
|
+
}>;
|
|
9500
|
+
get: (args: {
|
|
9501
|
+
params: {
|
|
9502
|
+
bucketId: number;
|
|
9503
|
+
uploadId: number;
|
|
9504
|
+
};
|
|
9505
|
+
cache?: RequestCache | undefined;
|
|
9506
|
+
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
9507
|
+
extraHeaders?: ({
|
|
9508
|
+
accept?: undefined;
|
|
9509
|
+
authorization?: undefined;
|
|
9510
|
+
"user-agent"?: undefined;
|
|
9511
|
+
} & Record<string, string | undefined>) | undefined;
|
|
9512
|
+
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9513
|
+
headers?: {
|
|
9514
|
+
accept?: "application/json" | undefined;
|
|
9515
|
+
authorization?: string | undefined;
|
|
9516
|
+
"user-agent"?: string | undefined;
|
|
9517
|
+
} | undefined;
|
|
9518
|
+
}) => Promise<{
|
|
9519
|
+
status: 200;
|
|
9520
|
+
body: {
|
|
9521
|
+
type: "Upload";
|
|
9522
|
+
status: string;
|
|
9523
|
+
id: number;
|
|
9524
|
+
title: string;
|
|
9525
|
+
url: string;
|
|
9526
|
+
app_url: string;
|
|
9527
|
+
created_at: string;
|
|
9528
|
+
updated_at: string;
|
|
9529
|
+
visible_to_clients: boolean;
|
|
9530
|
+
inherits_status: boolean;
|
|
9531
|
+
bucket: {
|
|
9532
|
+
type: string;
|
|
9533
|
+
id: number;
|
|
9534
|
+
name: string;
|
|
9535
|
+
};
|
|
9536
|
+
creator: {
|
|
9537
|
+
id: number;
|
|
9538
|
+
name: string;
|
|
9539
|
+
title: string | null;
|
|
9540
|
+
attachable_sgid: string;
|
|
9541
|
+
email_address: string | null;
|
|
9542
|
+
personable_type: string;
|
|
9543
|
+
bio: string | null;
|
|
9544
|
+
location: string | null;
|
|
9545
|
+
created_at: string;
|
|
9546
|
+
updated_at: string;
|
|
9547
|
+
admin: boolean;
|
|
9548
|
+
owner: boolean;
|
|
9549
|
+
client: boolean;
|
|
9550
|
+
employee: boolean;
|
|
9551
|
+
time_zone: string;
|
|
9552
|
+
avatar_url: string;
|
|
9553
|
+
can_manage_projects: boolean;
|
|
9554
|
+
can_manage_people: boolean;
|
|
9555
|
+
company?: {
|
|
9556
|
+
id: number;
|
|
9557
|
+
name: string;
|
|
9558
|
+
} | undefined;
|
|
9559
|
+
};
|
|
9560
|
+
filename: string;
|
|
9561
|
+
content_type: string;
|
|
9562
|
+
byte_size: number;
|
|
9563
|
+
download_url: string;
|
|
9564
|
+
app_download_url: string;
|
|
9565
|
+
bookmark_url?: string | undefined;
|
|
9566
|
+
subscription_url?: string | undefined;
|
|
9567
|
+
comments_count?: number | undefined;
|
|
9568
|
+
comments_url?: string | undefined;
|
|
9569
|
+
position?: number | undefined;
|
|
9570
|
+
parent?: {
|
|
9571
|
+
type: string;
|
|
9572
|
+
id: number;
|
|
9573
|
+
title: string;
|
|
9574
|
+
url: string;
|
|
9575
|
+
app_url: string;
|
|
9576
|
+
} | undefined;
|
|
9577
|
+
description?: string | undefined;
|
|
9578
|
+
width?: number | undefined;
|
|
9579
|
+
height?: number | undefined;
|
|
9580
|
+
};
|
|
9581
|
+
headers: Headers;
|
|
9582
|
+
}>;
|
|
9583
|
+
create: (args: {
|
|
9584
|
+
params: {
|
|
9585
|
+
bucketId: number;
|
|
9586
|
+
vaultId: number;
|
|
9587
|
+
};
|
|
9588
|
+
body: {
|
|
9589
|
+
attachable_sgid: string;
|
|
9590
|
+
description?: string | undefined;
|
|
9591
|
+
base_name?: string | undefined;
|
|
9592
|
+
};
|
|
9593
|
+
cache?: RequestCache | undefined;
|
|
9594
|
+
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
9595
|
+
extraHeaders?: ({
|
|
9596
|
+
accept?: undefined;
|
|
9597
|
+
authorization?: undefined;
|
|
9598
|
+
"user-agent"?: undefined;
|
|
9599
|
+
} & Record<string, string | undefined>) | undefined;
|
|
9600
|
+
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9601
|
+
headers?: {
|
|
9602
|
+
accept?: "application/json" | undefined;
|
|
9603
|
+
authorization?: string | undefined;
|
|
9604
|
+
"user-agent"?: string | undefined;
|
|
9605
|
+
} | undefined;
|
|
9606
|
+
}) => Promise<{
|
|
9607
|
+
status: 201;
|
|
9608
|
+
body: {
|
|
9609
|
+
type: "Upload";
|
|
9610
|
+
status: string;
|
|
9611
|
+
id: number;
|
|
9612
|
+
title: string;
|
|
9613
|
+
url: string;
|
|
9614
|
+
app_url: string;
|
|
9615
|
+
created_at: string;
|
|
9616
|
+
updated_at: string;
|
|
9617
|
+
visible_to_clients: boolean;
|
|
9618
|
+
inherits_status: boolean;
|
|
9619
|
+
bucket: {
|
|
9620
|
+
type: string;
|
|
9621
|
+
id: number;
|
|
9622
|
+
name: string;
|
|
9623
|
+
};
|
|
9624
|
+
creator: {
|
|
9625
|
+
id: number;
|
|
9626
|
+
name: string;
|
|
9627
|
+
title: string | null;
|
|
9628
|
+
attachable_sgid: string;
|
|
9629
|
+
email_address: string | null;
|
|
9630
|
+
personable_type: string;
|
|
9631
|
+
bio: string | null;
|
|
9632
|
+
location: string | null;
|
|
9633
|
+
created_at: string;
|
|
9634
|
+
updated_at: string;
|
|
9635
|
+
admin: boolean;
|
|
9636
|
+
owner: boolean;
|
|
9637
|
+
client: boolean;
|
|
9638
|
+
employee: boolean;
|
|
9639
|
+
time_zone: string;
|
|
9640
|
+
avatar_url: string;
|
|
9641
|
+
can_manage_projects: boolean;
|
|
9642
|
+
can_manage_people: boolean;
|
|
9643
|
+
company?: {
|
|
9644
|
+
id: number;
|
|
9645
|
+
name: string;
|
|
9646
|
+
} | undefined;
|
|
9647
|
+
};
|
|
9648
|
+
filename: string;
|
|
9649
|
+
content_type: string;
|
|
9650
|
+
byte_size: number;
|
|
9651
|
+
download_url: string;
|
|
9652
|
+
app_download_url: string;
|
|
9653
|
+
bookmark_url?: string | undefined;
|
|
9654
|
+
subscription_url?: string | undefined;
|
|
9655
|
+
comments_count?: number | undefined;
|
|
9656
|
+
comments_url?: string | undefined;
|
|
9657
|
+
position?: number | undefined;
|
|
9658
|
+
parent?: {
|
|
9659
|
+
type: string;
|
|
9660
|
+
id: number;
|
|
9661
|
+
title: string;
|
|
9662
|
+
url: string;
|
|
9663
|
+
app_url: string;
|
|
9664
|
+
} | undefined;
|
|
9665
|
+
description?: string | undefined;
|
|
9666
|
+
width?: number | undefined;
|
|
9667
|
+
height?: number | undefined;
|
|
9668
|
+
};
|
|
9669
|
+
headers: Headers;
|
|
9670
|
+
}>;
|
|
9671
|
+
update: (args: {
|
|
9672
|
+
params: {
|
|
9673
|
+
bucketId: number;
|
|
9674
|
+
uploadId: number;
|
|
9675
|
+
};
|
|
9676
|
+
cache?: RequestCache | undefined;
|
|
9677
|
+
fetchOptions?: _ts_rest_core.FetchOptions | undefined;
|
|
9678
|
+
extraHeaders?: ({
|
|
9679
|
+
accept?: undefined;
|
|
9680
|
+
authorization?: undefined;
|
|
9681
|
+
"user-agent"?: undefined;
|
|
9682
|
+
} & Record<string, string | undefined>) | undefined;
|
|
9683
|
+
overrideClientOptions?: Partial<_ts_rest_core.OverrideableClientArgs> | undefined;
|
|
9684
|
+
headers?: {
|
|
9685
|
+
accept?: "application/json" | undefined;
|
|
9686
|
+
authorization?: string | undefined;
|
|
9687
|
+
"user-agent"?: string | undefined;
|
|
9688
|
+
} | undefined;
|
|
9689
|
+
body?: {
|
|
9690
|
+
description?: string | undefined;
|
|
9691
|
+
base_name?: string | undefined;
|
|
9452
9692
|
} | undefined;
|
|
9453
9693
|
}) => Promise<{
|
|
9454
9694
|
status: 200;
|
|
@@ -14711,16 +14951,16 @@ declare const contract: {
|
|
|
14711
14951
|
list: {
|
|
14712
14952
|
query: z.ZodOptional<z.ZodObject<{
|
|
14713
14953
|
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "archived", "trashed"]>, z.ZodString]>>;
|
|
14714
|
-
completed: z.ZodOptional<z.
|
|
14954
|
+
completed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
14715
14955
|
page: z.ZodOptional<z.ZodNumber>;
|
|
14716
14956
|
}, "strip", z.ZodTypeAny, {
|
|
14717
14957
|
page?: number | undefined;
|
|
14718
14958
|
status?: string | undefined;
|
|
14719
|
-
completed?:
|
|
14959
|
+
completed?: true | undefined;
|
|
14720
14960
|
}, {
|
|
14721
14961
|
page?: number | undefined;
|
|
14722
14962
|
status?: string | undefined;
|
|
14723
|
-
completed?:
|
|
14963
|
+
completed?: true | undefined;
|
|
14724
14964
|
}>>;
|
|
14725
14965
|
metadata: {
|
|
14726
14966
|
readonly tag: "Todos";
|
|
@@ -19220,7 +19460,7 @@ declare const contract: {
|
|
|
19220
19460
|
method: "POST";
|
|
19221
19461
|
body: z.ZodObject<{
|
|
19222
19462
|
subject: z.ZodString;
|
|
19223
|
-
status: z.ZodUnion<[z.ZodEnum<["active", "
|
|
19463
|
+
status: z.ZodUnion<[z.ZodEnum<["active", "drafted"]>, z.ZodString]>;
|
|
19224
19464
|
content: z.ZodOptional<z.ZodString>;
|
|
19225
19465
|
category_id: z.ZodOptional<z.ZodNumber>;
|
|
19226
19466
|
subscriptions: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -40121,7 +40361,1002 @@ declare const contract: {
|
|
|
40121
40361
|
id: number;
|
|
40122
40362
|
name: string;
|
|
40123
40363
|
} | undefined;
|
|
40124
|
-
}[];
|
|
40364
|
+
}[];
|
|
40365
|
+
bookmark_url?: string | undefined;
|
|
40366
|
+
subscription_url?: string | undefined;
|
|
40367
|
+
comments_count?: number | undefined;
|
|
40368
|
+
comments_url?: string | undefined;
|
|
40369
|
+
position?: number | undefined;
|
|
40370
|
+
parent?: {
|
|
40371
|
+
type: string;
|
|
40372
|
+
id: number;
|
|
40373
|
+
title: string;
|
|
40374
|
+
url: string;
|
|
40375
|
+
app_url: string;
|
|
40376
|
+
} | undefined;
|
|
40377
|
+
recurrence_schedule?: {
|
|
40378
|
+
start_date: string;
|
|
40379
|
+
end_date: string | null;
|
|
40380
|
+
frequency: string;
|
|
40381
|
+
days: number[];
|
|
40382
|
+
hour: number;
|
|
40383
|
+
minute: number;
|
|
40384
|
+
week_instance: number | null;
|
|
40385
|
+
week_interval: number | null;
|
|
40386
|
+
month_interval: number | null;
|
|
40387
|
+
} | undefined;
|
|
40388
|
+
}>;
|
|
40389
|
+
};
|
|
40390
|
+
strictStatusCodes: true;
|
|
40391
|
+
};
|
|
40392
|
+
trash: {
|
|
40393
|
+
metadata: {
|
|
40394
|
+
readonly tag: "Schedule Entries";
|
|
40395
|
+
readonly operationId: "scheduleEntries.trash";
|
|
40396
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/recordings.md#trash-a-recording";
|
|
40397
|
+
};
|
|
40398
|
+
pathParams: z.ZodObject<{
|
|
40399
|
+
bucketId: z.ZodNumber;
|
|
40400
|
+
scheduleEntryId: z.ZodNumber;
|
|
40401
|
+
}, "strip", z.ZodTypeAny, {
|
|
40402
|
+
bucketId: number;
|
|
40403
|
+
scheduleEntryId: number;
|
|
40404
|
+
}, {
|
|
40405
|
+
bucketId: number;
|
|
40406
|
+
scheduleEntryId: number;
|
|
40407
|
+
}>;
|
|
40408
|
+
summary: "Trash a schedule entry";
|
|
40409
|
+
description: "Moves a schedule entry to the trash. Trashed items can be restored via the UI.";
|
|
40410
|
+
method: "PUT";
|
|
40411
|
+
body: typeof _ts_rest_core.ContractNoBody;
|
|
40412
|
+
path: "/buckets/:bucketId/recordings/:scheduleEntryId/status/trashed";
|
|
40413
|
+
headers: z.ZodObject<{
|
|
40414
|
+
Authorization: z.ZodString;
|
|
40415
|
+
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
40416
|
+
Accept: z.ZodOptional<z.ZodLiteral<"application/json">>;
|
|
40417
|
+
}, "strip", z.ZodTypeAny, {
|
|
40418
|
+
Authorization: string;
|
|
40419
|
+
'User-Agent'?: string | undefined;
|
|
40420
|
+
Accept?: "application/json" | undefined;
|
|
40421
|
+
}, {
|
|
40422
|
+
Authorization: string;
|
|
40423
|
+
'User-Agent'?: string | undefined;
|
|
40424
|
+
Accept?: "application/json" | undefined;
|
|
40425
|
+
}>;
|
|
40426
|
+
responses: {
|
|
40427
|
+
204: typeof _ts_rest_core.ContractNoBody;
|
|
40428
|
+
};
|
|
40429
|
+
strictStatusCodes: true;
|
|
40430
|
+
};
|
|
40431
|
+
};
|
|
40432
|
+
questionnaires: {
|
|
40433
|
+
get: {
|
|
40434
|
+
metadata: {
|
|
40435
|
+
readonly tag: "Questionnaires";
|
|
40436
|
+
readonly operationId: "questionnaires.get";
|
|
40437
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/questionnaires.md#get-questionnaire";
|
|
40438
|
+
};
|
|
40439
|
+
pathParams: z.ZodObject<{
|
|
40440
|
+
bucketId: z.ZodNumber;
|
|
40441
|
+
questionnaireId: z.ZodNumber;
|
|
40442
|
+
}, "strip", z.ZodTypeAny, {
|
|
40443
|
+
bucketId: number;
|
|
40444
|
+
questionnaireId: number;
|
|
40445
|
+
}, {
|
|
40446
|
+
bucketId: number;
|
|
40447
|
+
questionnaireId: number;
|
|
40448
|
+
}>;
|
|
40449
|
+
summary: "Get questionnaire";
|
|
40450
|
+
description: "Returns the questionnaire for a project. All automatic check-in questions are children of this resource.";
|
|
40451
|
+
method: "GET";
|
|
40452
|
+
path: "/buckets/:bucketId/questionnaires/:questionnaireId";
|
|
40453
|
+
headers: z.ZodObject<{
|
|
40454
|
+
Authorization: z.ZodString;
|
|
40455
|
+
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
40456
|
+
Accept: z.ZodOptional<z.ZodLiteral<"application/json">>;
|
|
40457
|
+
}, "strip", z.ZodTypeAny, {
|
|
40458
|
+
Authorization: string;
|
|
40459
|
+
'User-Agent'?: string | undefined;
|
|
40460
|
+
Accept?: "application/json" | undefined;
|
|
40461
|
+
}, {
|
|
40462
|
+
Authorization: string;
|
|
40463
|
+
'User-Agent'?: string | undefined;
|
|
40464
|
+
Accept?: "application/json" | undefined;
|
|
40465
|
+
}>;
|
|
40466
|
+
responses: {
|
|
40467
|
+
200: z.ZodObject<{
|
|
40468
|
+
id: z.ZodNumber;
|
|
40469
|
+
status: z.ZodUnion<[z.ZodEnum<["active", "trashed"]>, z.ZodString]>;
|
|
40470
|
+
visible_to_clients: z.ZodBoolean;
|
|
40471
|
+
created_at: z.ZodString;
|
|
40472
|
+
updated_at: z.ZodString;
|
|
40473
|
+
title: z.ZodString;
|
|
40474
|
+
inherits_status: z.ZodBoolean;
|
|
40475
|
+
url: z.ZodString;
|
|
40476
|
+
app_url: z.ZodString;
|
|
40477
|
+
bookmark_url: z.ZodOptional<z.ZodString>;
|
|
40478
|
+
subscription_url: z.ZodOptional<z.ZodString>;
|
|
40479
|
+
comments_count: z.ZodOptional<z.ZodNumber>;
|
|
40480
|
+
comments_url: z.ZodOptional<z.ZodString>;
|
|
40481
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
40482
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
40483
|
+
id: z.ZodNumber;
|
|
40484
|
+
title: z.ZodString;
|
|
40485
|
+
type: z.ZodString;
|
|
40486
|
+
url: z.ZodString;
|
|
40487
|
+
app_url: z.ZodString;
|
|
40488
|
+
}, "strip", z.ZodTypeAny, {
|
|
40489
|
+
type: string;
|
|
40490
|
+
id: number;
|
|
40491
|
+
title: string;
|
|
40492
|
+
url: string;
|
|
40493
|
+
app_url: string;
|
|
40494
|
+
}, {
|
|
40495
|
+
type: string;
|
|
40496
|
+
id: number;
|
|
40497
|
+
title: string;
|
|
40498
|
+
url: string;
|
|
40499
|
+
app_url: string;
|
|
40500
|
+
}>>;
|
|
40501
|
+
bucket: z.ZodObject<{
|
|
40502
|
+
id: z.ZodNumber;
|
|
40503
|
+
name: z.ZodString;
|
|
40504
|
+
type: z.ZodString;
|
|
40505
|
+
}, "strip", z.ZodTypeAny, {
|
|
40506
|
+
type: string;
|
|
40507
|
+
id: number;
|
|
40508
|
+
name: string;
|
|
40509
|
+
}, {
|
|
40510
|
+
type: string;
|
|
40511
|
+
id: number;
|
|
40512
|
+
name: string;
|
|
40513
|
+
}>;
|
|
40514
|
+
creator: z.ZodObject<{
|
|
40515
|
+
id: z.ZodNumber;
|
|
40516
|
+
attachable_sgid: z.ZodString;
|
|
40517
|
+
name: z.ZodString;
|
|
40518
|
+
email_address: z.ZodNullable<z.ZodString>;
|
|
40519
|
+
personable_type: z.ZodString;
|
|
40520
|
+
title: z.ZodNullable<z.ZodString>;
|
|
40521
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
40522
|
+
location: z.ZodNullable<z.ZodString>;
|
|
40523
|
+
created_at: z.ZodString;
|
|
40524
|
+
updated_at: z.ZodString;
|
|
40525
|
+
admin: z.ZodBoolean;
|
|
40526
|
+
owner: z.ZodBoolean;
|
|
40527
|
+
client: z.ZodBoolean;
|
|
40528
|
+
employee: z.ZodBoolean;
|
|
40529
|
+
time_zone: z.ZodString;
|
|
40530
|
+
avatar_url: z.ZodString;
|
|
40531
|
+
company: z.ZodOptional<z.ZodObject<{
|
|
40532
|
+
id: z.ZodNumber;
|
|
40533
|
+
name: z.ZodString;
|
|
40534
|
+
}, "strip", z.ZodTypeAny, {
|
|
40535
|
+
id: number;
|
|
40536
|
+
name: string;
|
|
40537
|
+
}, {
|
|
40538
|
+
id: number;
|
|
40539
|
+
name: string;
|
|
40540
|
+
}>>;
|
|
40541
|
+
can_manage_projects: z.ZodBoolean;
|
|
40542
|
+
can_manage_people: z.ZodBoolean;
|
|
40543
|
+
}, "strip", z.ZodTypeAny, {
|
|
40544
|
+
id: number;
|
|
40545
|
+
name: string;
|
|
40546
|
+
title: string | null;
|
|
40547
|
+
attachable_sgid: string;
|
|
40548
|
+
email_address: string | null;
|
|
40549
|
+
personable_type: string;
|
|
40550
|
+
bio: string | null;
|
|
40551
|
+
location: string | null;
|
|
40552
|
+
created_at: string;
|
|
40553
|
+
updated_at: string;
|
|
40554
|
+
admin: boolean;
|
|
40555
|
+
owner: boolean;
|
|
40556
|
+
client: boolean;
|
|
40557
|
+
employee: boolean;
|
|
40558
|
+
time_zone: string;
|
|
40559
|
+
avatar_url: string;
|
|
40560
|
+
can_manage_projects: boolean;
|
|
40561
|
+
can_manage_people: boolean;
|
|
40562
|
+
company?: {
|
|
40563
|
+
id: number;
|
|
40564
|
+
name: string;
|
|
40565
|
+
} | undefined;
|
|
40566
|
+
}, {
|
|
40567
|
+
id: number;
|
|
40568
|
+
name: string;
|
|
40569
|
+
title: string | null;
|
|
40570
|
+
attachable_sgid: string;
|
|
40571
|
+
email_address: string | null;
|
|
40572
|
+
personable_type: string;
|
|
40573
|
+
bio: string | null;
|
|
40574
|
+
location: string | null;
|
|
40575
|
+
created_at: string;
|
|
40576
|
+
updated_at: string;
|
|
40577
|
+
admin: boolean;
|
|
40578
|
+
owner: boolean;
|
|
40579
|
+
client: boolean;
|
|
40580
|
+
employee: boolean;
|
|
40581
|
+
time_zone: string;
|
|
40582
|
+
avatar_url: string;
|
|
40583
|
+
can_manage_projects: boolean;
|
|
40584
|
+
can_manage_people: boolean;
|
|
40585
|
+
company?: {
|
|
40586
|
+
id: number;
|
|
40587
|
+
name: string;
|
|
40588
|
+
} | undefined;
|
|
40589
|
+
}>;
|
|
40590
|
+
} & {
|
|
40591
|
+
type: z.ZodLiteral<"Questionnaire">;
|
|
40592
|
+
name: z.ZodString;
|
|
40593
|
+
questions_count: z.ZodNumber;
|
|
40594
|
+
questions_url: z.ZodString;
|
|
40595
|
+
}, "strip", z.ZodTypeAny, {
|
|
40596
|
+
type: "Questionnaire";
|
|
40597
|
+
status: string;
|
|
40598
|
+
id: number;
|
|
40599
|
+
name: string;
|
|
40600
|
+
title: string;
|
|
40601
|
+
url: string;
|
|
40602
|
+
app_url: string;
|
|
40603
|
+
created_at: string;
|
|
40604
|
+
updated_at: string;
|
|
40605
|
+
visible_to_clients: boolean;
|
|
40606
|
+
inherits_status: boolean;
|
|
40607
|
+
bucket: {
|
|
40608
|
+
type: string;
|
|
40609
|
+
id: number;
|
|
40610
|
+
name: string;
|
|
40611
|
+
};
|
|
40612
|
+
creator: {
|
|
40613
|
+
id: number;
|
|
40614
|
+
name: string;
|
|
40615
|
+
title: string | null;
|
|
40616
|
+
attachable_sgid: string;
|
|
40617
|
+
email_address: string | null;
|
|
40618
|
+
personable_type: string;
|
|
40619
|
+
bio: string | null;
|
|
40620
|
+
location: string | null;
|
|
40621
|
+
created_at: string;
|
|
40622
|
+
updated_at: string;
|
|
40623
|
+
admin: boolean;
|
|
40624
|
+
owner: boolean;
|
|
40625
|
+
client: boolean;
|
|
40626
|
+
employee: boolean;
|
|
40627
|
+
time_zone: string;
|
|
40628
|
+
avatar_url: string;
|
|
40629
|
+
can_manage_projects: boolean;
|
|
40630
|
+
can_manage_people: boolean;
|
|
40631
|
+
company?: {
|
|
40632
|
+
id: number;
|
|
40633
|
+
name: string;
|
|
40634
|
+
} | undefined;
|
|
40635
|
+
};
|
|
40636
|
+
questions_count: number;
|
|
40637
|
+
questions_url: string;
|
|
40638
|
+
bookmark_url?: string | undefined;
|
|
40639
|
+
subscription_url?: string | undefined;
|
|
40640
|
+
comments_count?: number | undefined;
|
|
40641
|
+
comments_url?: string | undefined;
|
|
40642
|
+
position?: number | undefined;
|
|
40643
|
+
parent?: {
|
|
40644
|
+
type: string;
|
|
40645
|
+
id: number;
|
|
40646
|
+
title: string;
|
|
40647
|
+
url: string;
|
|
40648
|
+
app_url: string;
|
|
40649
|
+
} | undefined;
|
|
40650
|
+
}, {
|
|
40651
|
+
type: "Questionnaire";
|
|
40652
|
+
status: string;
|
|
40653
|
+
id: number;
|
|
40654
|
+
name: string;
|
|
40655
|
+
title: string;
|
|
40656
|
+
url: string;
|
|
40657
|
+
app_url: string;
|
|
40658
|
+
created_at: string;
|
|
40659
|
+
updated_at: string;
|
|
40660
|
+
visible_to_clients: boolean;
|
|
40661
|
+
inherits_status: boolean;
|
|
40662
|
+
bucket: {
|
|
40663
|
+
type: string;
|
|
40664
|
+
id: number;
|
|
40665
|
+
name: string;
|
|
40666
|
+
};
|
|
40667
|
+
creator: {
|
|
40668
|
+
id: number;
|
|
40669
|
+
name: string;
|
|
40670
|
+
title: string | null;
|
|
40671
|
+
attachable_sgid: string;
|
|
40672
|
+
email_address: string | null;
|
|
40673
|
+
personable_type: string;
|
|
40674
|
+
bio: string | null;
|
|
40675
|
+
location: string | null;
|
|
40676
|
+
created_at: string;
|
|
40677
|
+
updated_at: string;
|
|
40678
|
+
admin: boolean;
|
|
40679
|
+
owner: boolean;
|
|
40680
|
+
client: boolean;
|
|
40681
|
+
employee: boolean;
|
|
40682
|
+
time_zone: string;
|
|
40683
|
+
avatar_url: string;
|
|
40684
|
+
can_manage_projects: boolean;
|
|
40685
|
+
can_manage_people: boolean;
|
|
40686
|
+
company?: {
|
|
40687
|
+
id: number;
|
|
40688
|
+
name: string;
|
|
40689
|
+
} | undefined;
|
|
40690
|
+
};
|
|
40691
|
+
questions_count: number;
|
|
40692
|
+
questions_url: string;
|
|
40693
|
+
bookmark_url?: string | undefined;
|
|
40694
|
+
subscription_url?: string | undefined;
|
|
40695
|
+
comments_count?: number | undefined;
|
|
40696
|
+
comments_url?: string | undefined;
|
|
40697
|
+
position?: number | undefined;
|
|
40698
|
+
parent?: {
|
|
40699
|
+
type: string;
|
|
40700
|
+
id: number;
|
|
40701
|
+
title: string;
|
|
40702
|
+
url: string;
|
|
40703
|
+
app_url: string;
|
|
40704
|
+
} | undefined;
|
|
40705
|
+
}>;
|
|
40706
|
+
};
|
|
40707
|
+
strictStatusCodes: true;
|
|
40708
|
+
};
|
|
40709
|
+
};
|
|
40710
|
+
questions: {
|
|
40711
|
+
list: {
|
|
40712
|
+
query: z.ZodObject<{
|
|
40713
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
40714
|
+
}, "strip", z.ZodTypeAny, {
|
|
40715
|
+
page?: number | undefined;
|
|
40716
|
+
}, {
|
|
40717
|
+
page?: number | undefined;
|
|
40718
|
+
}>;
|
|
40719
|
+
metadata: {
|
|
40720
|
+
readonly tag: "Questions";
|
|
40721
|
+
readonly operationId: "questions.list";
|
|
40722
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/questions.md#get-questions";
|
|
40723
|
+
};
|
|
40724
|
+
pathParams: z.ZodObject<{
|
|
40725
|
+
bucketId: z.ZodNumber;
|
|
40726
|
+
questionnaireId: z.ZodNumber;
|
|
40727
|
+
}, "strip", z.ZodTypeAny, {
|
|
40728
|
+
bucketId: number;
|
|
40729
|
+
questionnaireId: number;
|
|
40730
|
+
}, {
|
|
40731
|
+
bucketId: number;
|
|
40732
|
+
questionnaireId: number;
|
|
40733
|
+
}>;
|
|
40734
|
+
summary: "List questions";
|
|
40735
|
+
description: "Returns a paginated list of questions in a questionnaire (automatic check-ins).";
|
|
40736
|
+
method: "GET";
|
|
40737
|
+
path: "/buckets/:bucketId/questionnaires/:questionnaireId/questions";
|
|
40738
|
+
headers: z.ZodObject<{
|
|
40739
|
+
Authorization: z.ZodString;
|
|
40740
|
+
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
40741
|
+
Accept: z.ZodOptional<z.ZodLiteral<"application/json">>;
|
|
40742
|
+
}, "strip", z.ZodTypeAny, {
|
|
40743
|
+
Authorization: string;
|
|
40744
|
+
'User-Agent'?: string | undefined;
|
|
40745
|
+
Accept?: "application/json" | undefined;
|
|
40746
|
+
}, {
|
|
40747
|
+
Authorization: string;
|
|
40748
|
+
'User-Agent'?: string | undefined;
|
|
40749
|
+
Accept?: "application/json" | undefined;
|
|
40750
|
+
}>;
|
|
40751
|
+
responses: {
|
|
40752
|
+
200: z.ZodArray<z.ZodObject<{
|
|
40753
|
+
id: z.ZodNumber;
|
|
40754
|
+
status: z.ZodUnion<[z.ZodEnum<["active", "trashed"]>, z.ZodString]>;
|
|
40755
|
+
visible_to_clients: z.ZodBoolean;
|
|
40756
|
+
created_at: z.ZodString;
|
|
40757
|
+
updated_at: z.ZodString;
|
|
40758
|
+
title: z.ZodString;
|
|
40759
|
+
inherits_status: z.ZodBoolean;
|
|
40760
|
+
url: z.ZodString;
|
|
40761
|
+
app_url: z.ZodString;
|
|
40762
|
+
bookmark_url: z.ZodOptional<z.ZodString>;
|
|
40763
|
+
subscription_url: z.ZodOptional<z.ZodString>;
|
|
40764
|
+
comments_count: z.ZodOptional<z.ZodNumber>;
|
|
40765
|
+
comments_url: z.ZodOptional<z.ZodString>;
|
|
40766
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
40767
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
40768
|
+
id: z.ZodNumber;
|
|
40769
|
+
title: z.ZodString;
|
|
40770
|
+
type: z.ZodString;
|
|
40771
|
+
url: z.ZodString;
|
|
40772
|
+
app_url: z.ZodString;
|
|
40773
|
+
}, "strip", z.ZodTypeAny, {
|
|
40774
|
+
type: string;
|
|
40775
|
+
id: number;
|
|
40776
|
+
title: string;
|
|
40777
|
+
url: string;
|
|
40778
|
+
app_url: string;
|
|
40779
|
+
}, {
|
|
40780
|
+
type: string;
|
|
40781
|
+
id: number;
|
|
40782
|
+
title: string;
|
|
40783
|
+
url: string;
|
|
40784
|
+
app_url: string;
|
|
40785
|
+
}>>;
|
|
40786
|
+
bucket: z.ZodObject<{
|
|
40787
|
+
id: z.ZodNumber;
|
|
40788
|
+
name: z.ZodString;
|
|
40789
|
+
type: z.ZodString;
|
|
40790
|
+
}, "strip", z.ZodTypeAny, {
|
|
40791
|
+
type: string;
|
|
40792
|
+
id: number;
|
|
40793
|
+
name: string;
|
|
40794
|
+
}, {
|
|
40795
|
+
type: string;
|
|
40796
|
+
id: number;
|
|
40797
|
+
name: string;
|
|
40798
|
+
}>;
|
|
40799
|
+
creator: z.ZodObject<{
|
|
40800
|
+
id: z.ZodNumber;
|
|
40801
|
+
attachable_sgid: z.ZodString;
|
|
40802
|
+
name: z.ZodString;
|
|
40803
|
+
email_address: z.ZodNullable<z.ZodString>;
|
|
40804
|
+
personable_type: z.ZodString;
|
|
40805
|
+
title: z.ZodNullable<z.ZodString>;
|
|
40806
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
40807
|
+
location: z.ZodNullable<z.ZodString>;
|
|
40808
|
+
created_at: z.ZodString;
|
|
40809
|
+
updated_at: z.ZodString;
|
|
40810
|
+
admin: z.ZodBoolean;
|
|
40811
|
+
owner: z.ZodBoolean;
|
|
40812
|
+
client: z.ZodBoolean;
|
|
40813
|
+
employee: z.ZodBoolean;
|
|
40814
|
+
time_zone: z.ZodString;
|
|
40815
|
+
avatar_url: z.ZodString;
|
|
40816
|
+
company: z.ZodOptional<z.ZodObject<{
|
|
40817
|
+
id: z.ZodNumber;
|
|
40818
|
+
name: z.ZodString;
|
|
40819
|
+
}, "strip", z.ZodTypeAny, {
|
|
40820
|
+
id: number;
|
|
40821
|
+
name: string;
|
|
40822
|
+
}, {
|
|
40823
|
+
id: number;
|
|
40824
|
+
name: string;
|
|
40825
|
+
}>>;
|
|
40826
|
+
can_manage_projects: z.ZodBoolean;
|
|
40827
|
+
can_manage_people: z.ZodBoolean;
|
|
40828
|
+
}, "strip", z.ZodTypeAny, {
|
|
40829
|
+
id: number;
|
|
40830
|
+
name: string;
|
|
40831
|
+
title: string | null;
|
|
40832
|
+
attachable_sgid: string;
|
|
40833
|
+
email_address: string | null;
|
|
40834
|
+
personable_type: string;
|
|
40835
|
+
bio: string | null;
|
|
40836
|
+
location: string | null;
|
|
40837
|
+
created_at: string;
|
|
40838
|
+
updated_at: string;
|
|
40839
|
+
admin: boolean;
|
|
40840
|
+
owner: boolean;
|
|
40841
|
+
client: boolean;
|
|
40842
|
+
employee: boolean;
|
|
40843
|
+
time_zone: string;
|
|
40844
|
+
avatar_url: string;
|
|
40845
|
+
can_manage_projects: boolean;
|
|
40846
|
+
can_manage_people: boolean;
|
|
40847
|
+
company?: {
|
|
40848
|
+
id: number;
|
|
40849
|
+
name: string;
|
|
40850
|
+
} | undefined;
|
|
40851
|
+
}, {
|
|
40852
|
+
id: number;
|
|
40853
|
+
name: string;
|
|
40854
|
+
title: string | null;
|
|
40855
|
+
attachable_sgid: string;
|
|
40856
|
+
email_address: string | null;
|
|
40857
|
+
personable_type: string;
|
|
40858
|
+
bio: string | null;
|
|
40859
|
+
location: string | null;
|
|
40860
|
+
created_at: string;
|
|
40861
|
+
updated_at: string;
|
|
40862
|
+
admin: boolean;
|
|
40863
|
+
owner: boolean;
|
|
40864
|
+
client: boolean;
|
|
40865
|
+
employee: boolean;
|
|
40866
|
+
time_zone: string;
|
|
40867
|
+
avatar_url: string;
|
|
40868
|
+
can_manage_projects: boolean;
|
|
40869
|
+
can_manage_people: boolean;
|
|
40870
|
+
company?: {
|
|
40871
|
+
id: number;
|
|
40872
|
+
name: string;
|
|
40873
|
+
} | undefined;
|
|
40874
|
+
}>;
|
|
40875
|
+
} & {
|
|
40876
|
+
type: z.ZodLiteral<"Question">;
|
|
40877
|
+
paused: z.ZodBoolean;
|
|
40878
|
+
schedule: z.ZodObject<{
|
|
40879
|
+
frequency: z.ZodString;
|
|
40880
|
+
days: z.ZodArray<z.ZodNumber, "many">;
|
|
40881
|
+
hour: z.ZodNumber;
|
|
40882
|
+
minute: z.ZodNumber;
|
|
40883
|
+
week_instance: z.ZodNullable<z.ZodNumber>;
|
|
40884
|
+
week_interval: z.ZodNullable<z.ZodNumber>;
|
|
40885
|
+
month_interval: z.ZodNullable<z.ZodNumber>;
|
|
40886
|
+
start_date: z.ZodString;
|
|
40887
|
+
end_date: z.ZodNullable<z.ZodString>;
|
|
40888
|
+
}, "strip", z.ZodTypeAny, {
|
|
40889
|
+
start_date: string;
|
|
40890
|
+
end_date: string | null;
|
|
40891
|
+
frequency: string;
|
|
40892
|
+
days: number[];
|
|
40893
|
+
hour: number;
|
|
40894
|
+
minute: number;
|
|
40895
|
+
week_instance: number | null;
|
|
40896
|
+
week_interval: number | null;
|
|
40897
|
+
month_interval: number | null;
|
|
40898
|
+
}, {
|
|
40899
|
+
start_date: string;
|
|
40900
|
+
end_date: string | null;
|
|
40901
|
+
frequency: string;
|
|
40902
|
+
days: number[];
|
|
40903
|
+
hour: number;
|
|
40904
|
+
minute: number;
|
|
40905
|
+
week_instance: number | null;
|
|
40906
|
+
week_interval: number | null;
|
|
40907
|
+
month_interval: number | null;
|
|
40908
|
+
}>;
|
|
40909
|
+
answers_count: z.ZodNumber;
|
|
40910
|
+
answers_url: z.ZodString;
|
|
40911
|
+
}, "strip", z.ZodTypeAny, {
|
|
40912
|
+
type: "Question";
|
|
40913
|
+
status: string;
|
|
40914
|
+
id: number;
|
|
40915
|
+
title: string;
|
|
40916
|
+
url: string;
|
|
40917
|
+
app_url: string;
|
|
40918
|
+
created_at: string;
|
|
40919
|
+
updated_at: string;
|
|
40920
|
+
visible_to_clients: boolean;
|
|
40921
|
+
inherits_status: boolean;
|
|
40922
|
+
bucket: {
|
|
40923
|
+
type: string;
|
|
40924
|
+
id: number;
|
|
40925
|
+
name: string;
|
|
40926
|
+
};
|
|
40927
|
+
creator: {
|
|
40928
|
+
id: number;
|
|
40929
|
+
name: string;
|
|
40930
|
+
title: string | null;
|
|
40931
|
+
attachable_sgid: string;
|
|
40932
|
+
email_address: string | null;
|
|
40933
|
+
personable_type: string;
|
|
40934
|
+
bio: string | null;
|
|
40935
|
+
location: string | null;
|
|
40936
|
+
created_at: string;
|
|
40937
|
+
updated_at: string;
|
|
40938
|
+
admin: boolean;
|
|
40939
|
+
owner: boolean;
|
|
40940
|
+
client: boolean;
|
|
40941
|
+
employee: boolean;
|
|
40942
|
+
time_zone: string;
|
|
40943
|
+
avatar_url: string;
|
|
40944
|
+
can_manage_projects: boolean;
|
|
40945
|
+
can_manage_people: boolean;
|
|
40946
|
+
company?: {
|
|
40947
|
+
id: number;
|
|
40948
|
+
name: string;
|
|
40949
|
+
} | undefined;
|
|
40950
|
+
};
|
|
40951
|
+
paused: boolean;
|
|
40952
|
+
schedule: {
|
|
40953
|
+
start_date: string;
|
|
40954
|
+
end_date: string | null;
|
|
40955
|
+
frequency: string;
|
|
40956
|
+
days: number[];
|
|
40957
|
+
hour: number;
|
|
40958
|
+
minute: number;
|
|
40959
|
+
week_instance: number | null;
|
|
40960
|
+
week_interval: number | null;
|
|
40961
|
+
month_interval: number | null;
|
|
40962
|
+
};
|
|
40963
|
+
answers_count: number;
|
|
40964
|
+
answers_url: string;
|
|
40965
|
+
bookmark_url?: string | undefined;
|
|
40966
|
+
subscription_url?: string | undefined;
|
|
40967
|
+
comments_count?: number | undefined;
|
|
40968
|
+
comments_url?: string | undefined;
|
|
40969
|
+
position?: number | undefined;
|
|
40970
|
+
parent?: {
|
|
40971
|
+
type: string;
|
|
40972
|
+
id: number;
|
|
40973
|
+
title: string;
|
|
40974
|
+
url: string;
|
|
40975
|
+
app_url: string;
|
|
40976
|
+
} | undefined;
|
|
40977
|
+
}, {
|
|
40978
|
+
type: "Question";
|
|
40979
|
+
status: string;
|
|
40980
|
+
id: number;
|
|
40981
|
+
title: string;
|
|
40982
|
+
url: string;
|
|
40983
|
+
app_url: string;
|
|
40984
|
+
created_at: string;
|
|
40985
|
+
updated_at: string;
|
|
40986
|
+
visible_to_clients: boolean;
|
|
40987
|
+
inherits_status: boolean;
|
|
40988
|
+
bucket: {
|
|
40989
|
+
type: string;
|
|
40990
|
+
id: number;
|
|
40991
|
+
name: string;
|
|
40992
|
+
};
|
|
40993
|
+
creator: {
|
|
40994
|
+
id: number;
|
|
40995
|
+
name: string;
|
|
40996
|
+
title: string | null;
|
|
40997
|
+
attachable_sgid: string;
|
|
40998
|
+
email_address: string | null;
|
|
40999
|
+
personable_type: string;
|
|
41000
|
+
bio: string | null;
|
|
41001
|
+
location: string | null;
|
|
41002
|
+
created_at: string;
|
|
41003
|
+
updated_at: string;
|
|
41004
|
+
admin: boolean;
|
|
41005
|
+
owner: boolean;
|
|
41006
|
+
client: boolean;
|
|
41007
|
+
employee: boolean;
|
|
41008
|
+
time_zone: string;
|
|
41009
|
+
avatar_url: string;
|
|
41010
|
+
can_manage_projects: boolean;
|
|
41011
|
+
can_manage_people: boolean;
|
|
41012
|
+
company?: {
|
|
41013
|
+
id: number;
|
|
41014
|
+
name: string;
|
|
41015
|
+
} | undefined;
|
|
41016
|
+
};
|
|
41017
|
+
paused: boolean;
|
|
41018
|
+
schedule: {
|
|
41019
|
+
start_date: string;
|
|
41020
|
+
end_date: string | null;
|
|
41021
|
+
frequency: string;
|
|
41022
|
+
days: number[];
|
|
41023
|
+
hour: number;
|
|
41024
|
+
minute: number;
|
|
41025
|
+
week_instance: number | null;
|
|
41026
|
+
week_interval: number | null;
|
|
41027
|
+
month_interval: number | null;
|
|
41028
|
+
};
|
|
41029
|
+
answers_count: number;
|
|
41030
|
+
answers_url: string;
|
|
41031
|
+
bookmark_url?: string | undefined;
|
|
41032
|
+
subscription_url?: string | undefined;
|
|
41033
|
+
comments_count?: number | undefined;
|
|
41034
|
+
comments_url?: string | undefined;
|
|
41035
|
+
position?: number | undefined;
|
|
41036
|
+
parent?: {
|
|
41037
|
+
type: string;
|
|
41038
|
+
id: number;
|
|
41039
|
+
title: string;
|
|
41040
|
+
url: string;
|
|
41041
|
+
app_url: string;
|
|
41042
|
+
} | undefined;
|
|
41043
|
+
}>, "many">;
|
|
41044
|
+
};
|
|
41045
|
+
strictStatusCodes: true;
|
|
41046
|
+
};
|
|
41047
|
+
get: {
|
|
41048
|
+
metadata: {
|
|
41049
|
+
readonly tag: "Questions";
|
|
41050
|
+
readonly operationId: "questions.get";
|
|
41051
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/questions.md#get-a-question";
|
|
41052
|
+
};
|
|
41053
|
+
pathParams: z.ZodObject<{
|
|
41054
|
+
bucketId: z.ZodNumber;
|
|
41055
|
+
questionId: z.ZodNumber;
|
|
41056
|
+
}, "strip", z.ZodTypeAny, {
|
|
41057
|
+
bucketId: number;
|
|
41058
|
+
questionId: number;
|
|
41059
|
+
}, {
|
|
41060
|
+
bucketId: number;
|
|
41061
|
+
questionId: number;
|
|
41062
|
+
}>;
|
|
41063
|
+
summary: "Get a question";
|
|
41064
|
+
description: "Returns a single automatic check-in question with its schedule and metadata.";
|
|
41065
|
+
method: "GET";
|
|
41066
|
+
path: "/buckets/:bucketId/questions/:questionId";
|
|
41067
|
+
headers: z.ZodObject<{
|
|
41068
|
+
Authorization: z.ZodString;
|
|
41069
|
+
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
41070
|
+
Accept: z.ZodOptional<z.ZodLiteral<"application/json">>;
|
|
41071
|
+
}, "strip", z.ZodTypeAny, {
|
|
41072
|
+
Authorization: string;
|
|
41073
|
+
'User-Agent'?: string | undefined;
|
|
41074
|
+
Accept?: "application/json" | undefined;
|
|
41075
|
+
}, {
|
|
41076
|
+
Authorization: string;
|
|
41077
|
+
'User-Agent'?: string | undefined;
|
|
41078
|
+
Accept?: "application/json" | undefined;
|
|
41079
|
+
}>;
|
|
41080
|
+
responses: {
|
|
41081
|
+
200: z.ZodObject<{
|
|
41082
|
+
id: z.ZodNumber;
|
|
41083
|
+
status: z.ZodUnion<[z.ZodEnum<["active", "trashed"]>, z.ZodString]>;
|
|
41084
|
+
visible_to_clients: z.ZodBoolean;
|
|
41085
|
+
created_at: z.ZodString;
|
|
41086
|
+
updated_at: z.ZodString;
|
|
41087
|
+
title: z.ZodString;
|
|
41088
|
+
inherits_status: z.ZodBoolean;
|
|
41089
|
+
url: z.ZodString;
|
|
41090
|
+
app_url: z.ZodString;
|
|
41091
|
+
bookmark_url: z.ZodOptional<z.ZodString>;
|
|
41092
|
+
subscription_url: z.ZodOptional<z.ZodString>;
|
|
41093
|
+
comments_count: z.ZodOptional<z.ZodNumber>;
|
|
41094
|
+
comments_url: z.ZodOptional<z.ZodString>;
|
|
41095
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
41096
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
41097
|
+
id: z.ZodNumber;
|
|
41098
|
+
title: z.ZodString;
|
|
41099
|
+
type: z.ZodString;
|
|
41100
|
+
url: z.ZodString;
|
|
41101
|
+
app_url: z.ZodString;
|
|
41102
|
+
}, "strip", z.ZodTypeAny, {
|
|
41103
|
+
type: string;
|
|
41104
|
+
id: number;
|
|
41105
|
+
title: string;
|
|
41106
|
+
url: string;
|
|
41107
|
+
app_url: string;
|
|
41108
|
+
}, {
|
|
41109
|
+
type: string;
|
|
41110
|
+
id: number;
|
|
41111
|
+
title: string;
|
|
41112
|
+
url: string;
|
|
41113
|
+
app_url: string;
|
|
41114
|
+
}>>;
|
|
41115
|
+
bucket: z.ZodObject<{
|
|
41116
|
+
id: z.ZodNumber;
|
|
41117
|
+
name: z.ZodString;
|
|
41118
|
+
type: z.ZodString;
|
|
41119
|
+
}, "strip", z.ZodTypeAny, {
|
|
41120
|
+
type: string;
|
|
41121
|
+
id: number;
|
|
41122
|
+
name: string;
|
|
41123
|
+
}, {
|
|
41124
|
+
type: string;
|
|
41125
|
+
id: number;
|
|
41126
|
+
name: string;
|
|
41127
|
+
}>;
|
|
41128
|
+
creator: z.ZodObject<{
|
|
41129
|
+
id: z.ZodNumber;
|
|
41130
|
+
attachable_sgid: z.ZodString;
|
|
41131
|
+
name: z.ZodString;
|
|
41132
|
+
email_address: z.ZodNullable<z.ZodString>;
|
|
41133
|
+
personable_type: z.ZodString;
|
|
41134
|
+
title: z.ZodNullable<z.ZodString>;
|
|
41135
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
41136
|
+
location: z.ZodNullable<z.ZodString>;
|
|
41137
|
+
created_at: z.ZodString;
|
|
41138
|
+
updated_at: z.ZodString;
|
|
41139
|
+
admin: z.ZodBoolean;
|
|
41140
|
+
owner: z.ZodBoolean;
|
|
41141
|
+
client: z.ZodBoolean;
|
|
41142
|
+
employee: z.ZodBoolean;
|
|
41143
|
+
time_zone: z.ZodString;
|
|
41144
|
+
avatar_url: z.ZodString;
|
|
41145
|
+
company: z.ZodOptional<z.ZodObject<{
|
|
41146
|
+
id: z.ZodNumber;
|
|
41147
|
+
name: z.ZodString;
|
|
41148
|
+
}, "strip", z.ZodTypeAny, {
|
|
41149
|
+
id: number;
|
|
41150
|
+
name: string;
|
|
41151
|
+
}, {
|
|
41152
|
+
id: number;
|
|
41153
|
+
name: string;
|
|
41154
|
+
}>>;
|
|
41155
|
+
can_manage_projects: z.ZodBoolean;
|
|
41156
|
+
can_manage_people: z.ZodBoolean;
|
|
41157
|
+
}, "strip", z.ZodTypeAny, {
|
|
41158
|
+
id: number;
|
|
41159
|
+
name: string;
|
|
41160
|
+
title: string | null;
|
|
41161
|
+
attachable_sgid: string;
|
|
41162
|
+
email_address: string | null;
|
|
41163
|
+
personable_type: string;
|
|
41164
|
+
bio: string | null;
|
|
41165
|
+
location: string | null;
|
|
41166
|
+
created_at: string;
|
|
41167
|
+
updated_at: string;
|
|
41168
|
+
admin: boolean;
|
|
41169
|
+
owner: boolean;
|
|
41170
|
+
client: boolean;
|
|
41171
|
+
employee: boolean;
|
|
41172
|
+
time_zone: string;
|
|
41173
|
+
avatar_url: string;
|
|
41174
|
+
can_manage_projects: boolean;
|
|
41175
|
+
can_manage_people: boolean;
|
|
41176
|
+
company?: {
|
|
41177
|
+
id: number;
|
|
41178
|
+
name: string;
|
|
41179
|
+
} | undefined;
|
|
41180
|
+
}, {
|
|
41181
|
+
id: number;
|
|
41182
|
+
name: string;
|
|
41183
|
+
title: string | null;
|
|
41184
|
+
attachable_sgid: string;
|
|
41185
|
+
email_address: string | null;
|
|
41186
|
+
personable_type: string;
|
|
41187
|
+
bio: string | null;
|
|
41188
|
+
location: string | null;
|
|
41189
|
+
created_at: string;
|
|
41190
|
+
updated_at: string;
|
|
41191
|
+
admin: boolean;
|
|
41192
|
+
owner: boolean;
|
|
41193
|
+
client: boolean;
|
|
41194
|
+
employee: boolean;
|
|
41195
|
+
time_zone: string;
|
|
41196
|
+
avatar_url: string;
|
|
41197
|
+
can_manage_projects: boolean;
|
|
41198
|
+
can_manage_people: boolean;
|
|
41199
|
+
company?: {
|
|
41200
|
+
id: number;
|
|
41201
|
+
name: string;
|
|
41202
|
+
} | undefined;
|
|
41203
|
+
}>;
|
|
41204
|
+
} & {
|
|
41205
|
+
type: z.ZodLiteral<"Question">;
|
|
41206
|
+
paused: z.ZodBoolean;
|
|
41207
|
+
schedule: z.ZodObject<{
|
|
41208
|
+
frequency: z.ZodString;
|
|
41209
|
+
days: z.ZodArray<z.ZodNumber, "many">;
|
|
41210
|
+
hour: z.ZodNumber;
|
|
41211
|
+
minute: z.ZodNumber;
|
|
41212
|
+
week_instance: z.ZodNullable<z.ZodNumber>;
|
|
41213
|
+
week_interval: z.ZodNullable<z.ZodNumber>;
|
|
41214
|
+
month_interval: z.ZodNullable<z.ZodNumber>;
|
|
41215
|
+
start_date: z.ZodString;
|
|
41216
|
+
end_date: z.ZodNullable<z.ZodString>;
|
|
41217
|
+
}, "strip", z.ZodTypeAny, {
|
|
41218
|
+
start_date: string;
|
|
41219
|
+
end_date: string | null;
|
|
41220
|
+
frequency: string;
|
|
41221
|
+
days: number[];
|
|
41222
|
+
hour: number;
|
|
41223
|
+
minute: number;
|
|
41224
|
+
week_instance: number | null;
|
|
41225
|
+
week_interval: number | null;
|
|
41226
|
+
month_interval: number | null;
|
|
41227
|
+
}, {
|
|
41228
|
+
start_date: string;
|
|
41229
|
+
end_date: string | null;
|
|
41230
|
+
frequency: string;
|
|
41231
|
+
days: number[];
|
|
41232
|
+
hour: number;
|
|
41233
|
+
minute: number;
|
|
41234
|
+
week_instance: number | null;
|
|
41235
|
+
week_interval: number | null;
|
|
41236
|
+
month_interval: number | null;
|
|
41237
|
+
}>;
|
|
41238
|
+
answers_count: z.ZodNumber;
|
|
41239
|
+
answers_url: z.ZodString;
|
|
41240
|
+
}, "strip", z.ZodTypeAny, {
|
|
41241
|
+
type: "Question";
|
|
41242
|
+
status: string;
|
|
41243
|
+
id: number;
|
|
41244
|
+
title: string;
|
|
41245
|
+
url: string;
|
|
41246
|
+
app_url: string;
|
|
41247
|
+
created_at: string;
|
|
41248
|
+
updated_at: string;
|
|
41249
|
+
visible_to_clients: boolean;
|
|
41250
|
+
inherits_status: boolean;
|
|
41251
|
+
bucket: {
|
|
41252
|
+
type: string;
|
|
41253
|
+
id: number;
|
|
41254
|
+
name: string;
|
|
41255
|
+
};
|
|
41256
|
+
creator: {
|
|
41257
|
+
id: number;
|
|
41258
|
+
name: string;
|
|
41259
|
+
title: string | null;
|
|
41260
|
+
attachable_sgid: string;
|
|
41261
|
+
email_address: string | null;
|
|
41262
|
+
personable_type: string;
|
|
41263
|
+
bio: string | null;
|
|
41264
|
+
location: string | null;
|
|
41265
|
+
created_at: string;
|
|
41266
|
+
updated_at: string;
|
|
41267
|
+
admin: boolean;
|
|
41268
|
+
owner: boolean;
|
|
41269
|
+
client: boolean;
|
|
41270
|
+
employee: boolean;
|
|
41271
|
+
time_zone: string;
|
|
41272
|
+
avatar_url: string;
|
|
41273
|
+
can_manage_projects: boolean;
|
|
41274
|
+
can_manage_people: boolean;
|
|
41275
|
+
company?: {
|
|
41276
|
+
id: number;
|
|
41277
|
+
name: string;
|
|
41278
|
+
} | undefined;
|
|
41279
|
+
};
|
|
41280
|
+
paused: boolean;
|
|
41281
|
+
schedule: {
|
|
41282
|
+
start_date: string;
|
|
41283
|
+
end_date: string | null;
|
|
41284
|
+
frequency: string;
|
|
41285
|
+
days: number[];
|
|
41286
|
+
hour: number;
|
|
41287
|
+
minute: number;
|
|
41288
|
+
week_instance: number | null;
|
|
41289
|
+
week_interval: number | null;
|
|
41290
|
+
month_interval: number | null;
|
|
41291
|
+
};
|
|
41292
|
+
answers_count: number;
|
|
41293
|
+
answers_url: string;
|
|
41294
|
+
bookmark_url?: string | undefined;
|
|
41295
|
+
subscription_url?: string | undefined;
|
|
41296
|
+
comments_count?: number | undefined;
|
|
41297
|
+
comments_url?: string | undefined;
|
|
41298
|
+
position?: number | undefined;
|
|
41299
|
+
parent?: {
|
|
41300
|
+
type: string;
|
|
41301
|
+
id: number;
|
|
41302
|
+
title: string;
|
|
41303
|
+
url: string;
|
|
41304
|
+
app_url: string;
|
|
41305
|
+
} | undefined;
|
|
41306
|
+
}, {
|
|
41307
|
+
type: "Question";
|
|
41308
|
+
status: string;
|
|
41309
|
+
id: number;
|
|
41310
|
+
title: string;
|
|
41311
|
+
url: string;
|
|
41312
|
+
app_url: string;
|
|
41313
|
+
created_at: string;
|
|
41314
|
+
updated_at: string;
|
|
41315
|
+
visible_to_clients: boolean;
|
|
41316
|
+
inherits_status: boolean;
|
|
41317
|
+
bucket: {
|
|
41318
|
+
type: string;
|
|
41319
|
+
id: number;
|
|
41320
|
+
name: string;
|
|
41321
|
+
};
|
|
41322
|
+
creator: {
|
|
41323
|
+
id: number;
|
|
41324
|
+
name: string;
|
|
41325
|
+
title: string | null;
|
|
41326
|
+
attachable_sgid: string;
|
|
41327
|
+
email_address: string | null;
|
|
41328
|
+
personable_type: string;
|
|
41329
|
+
bio: string | null;
|
|
41330
|
+
location: string | null;
|
|
41331
|
+
created_at: string;
|
|
41332
|
+
updated_at: string;
|
|
41333
|
+
admin: boolean;
|
|
41334
|
+
owner: boolean;
|
|
41335
|
+
client: boolean;
|
|
41336
|
+
employee: boolean;
|
|
41337
|
+
time_zone: string;
|
|
41338
|
+
avatar_url: string;
|
|
41339
|
+
can_manage_projects: boolean;
|
|
41340
|
+
can_manage_people: boolean;
|
|
41341
|
+
company?: {
|
|
41342
|
+
id: number;
|
|
41343
|
+
name: string;
|
|
41344
|
+
} | undefined;
|
|
41345
|
+
};
|
|
41346
|
+
paused: boolean;
|
|
41347
|
+
schedule: {
|
|
41348
|
+
start_date: string;
|
|
41349
|
+
end_date: string | null;
|
|
41350
|
+
frequency: string;
|
|
41351
|
+
days: number[];
|
|
41352
|
+
hour: number;
|
|
41353
|
+
minute: number;
|
|
41354
|
+
week_instance: number | null;
|
|
41355
|
+
week_interval: number | null;
|
|
41356
|
+
month_interval: number | null;
|
|
41357
|
+
};
|
|
41358
|
+
answers_count: number;
|
|
41359
|
+
answers_url: string;
|
|
40125
41360
|
bookmark_url?: string | undefined;
|
|
40126
41361
|
subscription_url?: string | undefined;
|
|
40127
41362
|
comments_count?: number | undefined;
|
|
@@ -40134,82 +41369,39 @@ declare const contract: {
|
|
|
40134
41369
|
url: string;
|
|
40135
41370
|
app_url: string;
|
|
40136
41371
|
} | undefined;
|
|
40137
|
-
recurrence_schedule?: {
|
|
40138
|
-
start_date: string;
|
|
40139
|
-
end_date: string | null;
|
|
40140
|
-
frequency: string;
|
|
40141
|
-
days: number[];
|
|
40142
|
-
hour: number;
|
|
40143
|
-
minute: number;
|
|
40144
|
-
week_instance: number | null;
|
|
40145
|
-
week_interval: number | null;
|
|
40146
|
-
month_interval: number | null;
|
|
40147
|
-
} | undefined;
|
|
40148
41372
|
}>;
|
|
40149
41373
|
};
|
|
40150
41374
|
strictStatusCodes: true;
|
|
40151
41375
|
};
|
|
40152
|
-
|
|
40153
|
-
|
|
40154
|
-
|
|
40155
|
-
|
|
40156
|
-
|
|
40157
|
-
};
|
|
40158
|
-
pathParams: z.ZodObject<{
|
|
40159
|
-
bucketId: z.ZodNumber;
|
|
40160
|
-
scheduleEntryId: z.ZodNumber;
|
|
40161
|
-
}, "strip", z.ZodTypeAny, {
|
|
40162
|
-
bucketId: number;
|
|
40163
|
-
scheduleEntryId: number;
|
|
40164
|
-
}, {
|
|
40165
|
-
bucketId: number;
|
|
40166
|
-
scheduleEntryId: number;
|
|
40167
|
-
}>;
|
|
40168
|
-
summary: "Trash a schedule entry";
|
|
40169
|
-
description: "Moves a schedule entry to the trash. Trashed items can be restored via the UI.";
|
|
40170
|
-
method: "PUT";
|
|
40171
|
-
body: typeof _ts_rest_core.ContractNoBody;
|
|
40172
|
-
path: "/buckets/:bucketId/recordings/:scheduleEntryId/status/trashed";
|
|
40173
|
-
headers: z.ZodObject<{
|
|
40174
|
-
Authorization: z.ZodString;
|
|
40175
|
-
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
40176
|
-
Accept: z.ZodOptional<z.ZodLiteral<"application/json">>;
|
|
41376
|
+
};
|
|
41377
|
+
questionAnswers: {
|
|
41378
|
+
list: {
|
|
41379
|
+
query: z.ZodObject<{
|
|
41380
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
40177
41381
|
}, "strip", z.ZodTypeAny, {
|
|
40178
|
-
|
|
40179
|
-
'User-Agent'?: string | undefined;
|
|
40180
|
-
Accept?: "application/json" | undefined;
|
|
41382
|
+
page?: number | undefined;
|
|
40181
41383
|
}, {
|
|
40182
|
-
|
|
40183
|
-
'User-Agent'?: string | undefined;
|
|
40184
|
-
Accept?: "application/json" | undefined;
|
|
41384
|
+
page?: number | undefined;
|
|
40185
41385
|
}>;
|
|
40186
|
-
responses: {
|
|
40187
|
-
204: typeof _ts_rest_core.ContractNoBody;
|
|
40188
|
-
};
|
|
40189
|
-
strictStatusCodes: true;
|
|
40190
|
-
};
|
|
40191
|
-
};
|
|
40192
|
-
questionnaires: {
|
|
40193
|
-
get: {
|
|
40194
41386
|
metadata: {
|
|
40195
|
-
readonly tag: "
|
|
40196
|
-
readonly operationId: "
|
|
40197
|
-
readonly docsPath: "/docs/basecamp-api-specs/sections/
|
|
41387
|
+
readonly tag: "Question Answers";
|
|
41388
|
+
readonly operationId: "questionAnswers.list";
|
|
41389
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/question_answers.md#get-question-answers";
|
|
40198
41390
|
};
|
|
40199
41391
|
pathParams: z.ZodObject<{
|
|
40200
41392
|
bucketId: z.ZodNumber;
|
|
40201
|
-
|
|
41393
|
+
questionId: z.ZodNumber;
|
|
40202
41394
|
}, "strip", z.ZodTypeAny, {
|
|
40203
41395
|
bucketId: number;
|
|
40204
|
-
|
|
41396
|
+
questionId: number;
|
|
40205
41397
|
}, {
|
|
40206
41398
|
bucketId: number;
|
|
40207
|
-
|
|
41399
|
+
questionId: number;
|
|
40208
41400
|
}>;
|
|
40209
|
-
summary: "
|
|
40210
|
-
description: "Returns
|
|
41401
|
+
summary: "List question answers";
|
|
41402
|
+
description: "Returns a paginated list of answers for a specific check-in question.";
|
|
40211
41403
|
method: "GET";
|
|
40212
|
-
path: "/buckets/:bucketId/
|
|
41404
|
+
path: "/buckets/:bucketId/questions/:questionId/answers";
|
|
40213
41405
|
headers: z.ZodObject<{
|
|
40214
41406
|
Authorization: z.ZodString;
|
|
40215
41407
|
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
@@ -40224,7 +41416,7 @@ declare const contract: {
|
|
|
40224
41416
|
Accept?: "application/json" | undefined;
|
|
40225
41417
|
}>;
|
|
40226
41418
|
responses: {
|
|
40227
|
-
200: z.ZodObject<{
|
|
41419
|
+
200: z.ZodArray<z.ZodObject<{
|
|
40228
41420
|
id: z.ZodNumber;
|
|
40229
41421
|
status: z.ZodUnion<[z.ZodEnum<["active", "trashed"]>, z.ZodString]>;
|
|
40230
41422
|
visible_to_clients: z.ZodBoolean;
|
|
@@ -40348,15 +41540,13 @@ declare const contract: {
|
|
|
40348
41540
|
} | undefined;
|
|
40349
41541
|
}>;
|
|
40350
41542
|
} & {
|
|
40351
|
-
type: z.ZodLiteral<"
|
|
40352
|
-
|
|
40353
|
-
|
|
40354
|
-
questions_url: z.ZodString;
|
|
41543
|
+
type: z.ZodLiteral<"Question::Answer">;
|
|
41544
|
+
content: z.ZodString;
|
|
41545
|
+
group_on: z.ZodString;
|
|
40355
41546
|
}, "strip", z.ZodTypeAny, {
|
|
40356
|
-
type: "
|
|
41547
|
+
type: "Question::Answer";
|
|
40357
41548
|
status: string;
|
|
40358
41549
|
id: number;
|
|
40359
|
-
name: string;
|
|
40360
41550
|
title: string;
|
|
40361
41551
|
url: string;
|
|
40362
41552
|
app_url: string;
|
|
@@ -40393,8 +41583,8 @@ declare const contract: {
|
|
|
40393
41583
|
name: string;
|
|
40394
41584
|
} | undefined;
|
|
40395
41585
|
};
|
|
40396
|
-
|
|
40397
|
-
|
|
41586
|
+
content: string;
|
|
41587
|
+
group_on: string;
|
|
40398
41588
|
bookmark_url?: string | undefined;
|
|
40399
41589
|
subscription_url?: string | undefined;
|
|
40400
41590
|
comments_count?: number | undefined;
|
|
@@ -40408,10 +41598,9 @@ declare const contract: {
|
|
|
40408
41598
|
app_url: string;
|
|
40409
41599
|
} | undefined;
|
|
40410
41600
|
}, {
|
|
40411
|
-
type: "
|
|
41601
|
+
type: "Question::Answer";
|
|
40412
41602
|
status: string;
|
|
40413
41603
|
id: number;
|
|
40414
|
-
name: string;
|
|
40415
41604
|
title: string;
|
|
40416
41605
|
url: string;
|
|
40417
41606
|
app_url: string;
|
|
@@ -40448,8 +41637,8 @@ declare const contract: {
|
|
|
40448
41637
|
name: string;
|
|
40449
41638
|
} | undefined;
|
|
40450
41639
|
};
|
|
40451
|
-
|
|
40452
|
-
|
|
41640
|
+
content: string;
|
|
41641
|
+
group_on: string;
|
|
40453
41642
|
bookmark_url?: string | undefined;
|
|
40454
41643
|
subscription_url?: string | undefined;
|
|
40455
41644
|
comments_count?: number | undefined;
|
|
@@ -40462,39 +41651,30 @@ declare const contract: {
|
|
|
40462
41651
|
url: string;
|
|
40463
41652
|
app_url: string;
|
|
40464
41653
|
} | undefined;
|
|
40465
|
-
}>;
|
|
41654
|
+
}>, "many">;
|
|
40466
41655
|
};
|
|
40467
41656
|
strictStatusCodes: true;
|
|
40468
41657
|
};
|
|
40469
|
-
|
|
40470
|
-
questions: {
|
|
40471
|
-
list: {
|
|
40472
|
-
query: z.ZodObject<{
|
|
40473
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
40474
|
-
}, "strip", z.ZodTypeAny, {
|
|
40475
|
-
page?: number | undefined;
|
|
40476
|
-
}, {
|
|
40477
|
-
page?: number | undefined;
|
|
40478
|
-
}>;
|
|
41658
|
+
get: {
|
|
40479
41659
|
metadata: {
|
|
40480
|
-
readonly tag: "
|
|
40481
|
-
readonly operationId: "
|
|
40482
|
-
readonly docsPath: "/docs/basecamp-api-specs/sections/
|
|
41660
|
+
readonly tag: "Question Answers";
|
|
41661
|
+
readonly operationId: "questionAnswers.get";
|
|
41662
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/question_answers.md#get-a-question-answer";
|
|
40483
41663
|
};
|
|
40484
41664
|
pathParams: z.ZodObject<{
|
|
40485
41665
|
bucketId: z.ZodNumber;
|
|
40486
|
-
|
|
41666
|
+
answerId: z.ZodNumber;
|
|
40487
41667
|
}, "strip", z.ZodTypeAny, {
|
|
40488
41668
|
bucketId: number;
|
|
40489
|
-
|
|
41669
|
+
answerId: number;
|
|
40490
41670
|
}, {
|
|
40491
41671
|
bucketId: number;
|
|
40492
|
-
|
|
41672
|
+
answerId: number;
|
|
40493
41673
|
}>;
|
|
40494
|
-
summary: "
|
|
40495
|
-
description: "Returns a
|
|
41674
|
+
summary: "Get a question answer";
|
|
41675
|
+
description: "Returns a single question answer by its ID.";
|
|
40496
41676
|
method: "GET";
|
|
40497
|
-
path: "/buckets/:bucketId/
|
|
41677
|
+
path: "/buckets/:bucketId/question_answers/:answerId";
|
|
40498
41678
|
headers: z.ZodObject<{
|
|
40499
41679
|
Authorization: z.ZodString;
|
|
40500
41680
|
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
@@ -40509,7 +41689,7 @@ declare const contract: {
|
|
|
40509
41689
|
Accept?: "application/json" | undefined;
|
|
40510
41690
|
}>;
|
|
40511
41691
|
responses: {
|
|
40512
|
-
200: z.
|
|
41692
|
+
200: z.ZodObject<{
|
|
40513
41693
|
id: z.ZodNumber;
|
|
40514
41694
|
status: z.ZodUnion<[z.ZodEnum<["active", "trashed"]>, z.ZodString]>;
|
|
40515
41695
|
visible_to_clients: z.ZodBoolean;
|
|
@@ -40633,43 +41813,11 @@ declare const contract: {
|
|
|
40633
41813
|
} | undefined;
|
|
40634
41814
|
}>;
|
|
40635
41815
|
} & {
|
|
40636
|
-
type: z.ZodLiteral<"Question">;
|
|
40637
|
-
|
|
40638
|
-
|
|
40639
|
-
frequency: z.ZodString;
|
|
40640
|
-
days: z.ZodArray<z.ZodNumber, "many">;
|
|
40641
|
-
hour: z.ZodNumber;
|
|
40642
|
-
minute: z.ZodNumber;
|
|
40643
|
-
week_instance: z.ZodNullable<z.ZodNumber>;
|
|
40644
|
-
week_interval: z.ZodNullable<z.ZodNumber>;
|
|
40645
|
-
month_interval: z.ZodNullable<z.ZodNumber>;
|
|
40646
|
-
start_date: z.ZodString;
|
|
40647
|
-
end_date: z.ZodNullable<z.ZodString>;
|
|
40648
|
-
}, "strip", z.ZodTypeAny, {
|
|
40649
|
-
start_date: string;
|
|
40650
|
-
end_date: string | null;
|
|
40651
|
-
frequency: string;
|
|
40652
|
-
days: number[];
|
|
40653
|
-
hour: number;
|
|
40654
|
-
minute: number;
|
|
40655
|
-
week_instance: number | null;
|
|
40656
|
-
week_interval: number | null;
|
|
40657
|
-
month_interval: number | null;
|
|
40658
|
-
}, {
|
|
40659
|
-
start_date: string;
|
|
40660
|
-
end_date: string | null;
|
|
40661
|
-
frequency: string;
|
|
40662
|
-
days: number[];
|
|
40663
|
-
hour: number;
|
|
40664
|
-
minute: number;
|
|
40665
|
-
week_instance: number | null;
|
|
40666
|
-
week_interval: number | null;
|
|
40667
|
-
month_interval: number | null;
|
|
40668
|
-
}>;
|
|
40669
|
-
answers_count: z.ZodNumber;
|
|
40670
|
-
answers_url: z.ZodString;
|
|
41816
|
+
type: z.ZodLiteral<"Question::Answer">;
|
|
41817
|
+
content: z.ZodString;
|
|
41818
|
+
group_on: z.ZodString;
|
|
40671
41819
|
}, "strip", z.ZodTypeAny, {
|
|
40672
|
-
type: "Question";
|
|
41820
|
+
type: "Question::Answer";
|
|
40673
41821
|
status: string;
|
|
40674
41822
|
id: number;
|
|
40675
41823
|
title: string;
|
|
@@ -40708,20 +41856,8 @@ declare const contract: {
|
|
|
40708
41856
|
name: string;
|
|
40709
41857
|
} | undefined;
|
|
40710
41858
|
};
|
|
40711
|
-
|
|
40712
|
-
|
|
40713
|
-
start_date: string;
|
|
40714
|
-
end_date: string | null;
|
|
40715
|
-
frequency: string;
|
|
40716
|
-
days: number[];
|
|
40717
|
-
hour: number;
|
|
40718
|
-
minute: number;
|
|
40719
|
-
week_instance: number | null;
|
|
40720
|
-
week_interval: number | null;
|
|
40721
|
-
month_interval: number | null;
|
|
40722
|
-
};
|
|
40723
|
-
answers_count: number;
|
|
40724
|
-
answers_url: string;
|
|
41859
|
+
content: string;
|
|
41860
|
+
group_on: string;
|
|
40725
41861
|
bookmark_url?: string | undefined;
|
|
40726
41862
|
subscription_url?: string | undefined;
|
|
40727
41863
|
comments_count?: number | undefined;
|
|
@@ -40735,7 +41871,7 @@ declare const contract: {
|
|
|
40735
41871
|
app_url: string;
|
|
40736
41872
|
} | undefined;
|
|
40737
41873
|
}, {
|
|
40738
|
-
type: "Question";
|
|
41874
|
+
type: "Question::Answer";
|
|
40739
41875
|
status: string;
|
|
40740
41876
|
id: number;
|
|
40741
41877
|
title: string;
|
|
@@ -40774,20 +41910,8 @@ declare const contract: {
|
|
|
40774
41910
|
name: string;
|
|
40775
41911
|
} | undefined;
|
|
40776
41912
|
};
|
|
40777
|
-
|
|
40778
|
-
|
|
40779
|
-
start_date: string;
|
|
40780
|
-
end_date: string | null;
|
|
40781
|
-
frequency: string;
|
|
40782
|
-
days: number[];
|
|
40783
|
-
hour: number;
|
|
40784
|
-
minute: number;
|
|
40785
|
-
week_instance: number | null;
|
|
40786
|
-
week_interval: number | null;
|
|
40787
|
-
month_interval: number | null;
|
|
40788
|
-
};
|
|
40789
|
-
answers_count: number;
|
|
40790
|
-
answers_url: string;
|
|
41913
|
+
content: string;
|
|
41914
|
+
group_on: string;
|
|
40791
41915
|
bookmark_url?: string | undefined;
|
|
40792
41916
|
subscription_url?: string | undefined;
|
|
40793
41917
|
comments_count?: number | undefined;
|
|
@@ -40800,15 +41924,15 @@ declare const contract: {
|
|
|
40800
41924
|
url: string;
|
|
40801
41925
|
app_url: string;
|
|
40802
41926
|
} | undefined;
|
|
40803
|
-
}
|
|
41927
|
+
}>;
|
|
40804
41928
|
};
|
|
40805
41929
|
strictStatusCodes: true;
|
|
40806
41930
|
};
|
|
40807
|
-
|
|
41931
|
+
create: {
|
|
40808
41932
|
metadata: {
|
|
40809
|
-
readonly tag: "
|
|
40810
|
-
readonly operationId: "
|
|
40811
|
-
readonly docsPath: "/docs/basecamp-api-specs/sections/
|
|
41933
|
+
readonly tag: "Question Answers";
|
|
41934
|
+
readonly operationId: "questionAnswers.create";
|
|
41935
|
+
readonly docsPath: "/docs/basecamp-api-specs/sections/question_answers.md#get-question-answers";
|
|
40812
41936
|
};
|
|
40813
41937
|
pathParams: z.ZodObject<{
|
|
40814
41938
|
bucketId: z.ZodNumber;
|
|
@@ -40820,10 +41944,20 @@ declare const contract: {
|
|
|
40820
41944
|
bucketId: number;
|
|
40821
41945
|
questionId: number;
|
|
40822
41946
|
}>;
|
|
40823
|
-
summary: "
|
|
40824
|
-
description: "
|
|
40825
|
-
method: "
|
|
40826
|
-
|
|
41947
|
+
summary: "Create a question answer";
|
|
41948
|
+
description: "Create a new answer for a check-in question.";
|
|
41949
|
+
method: "POST";
|
|
41950
|
+
body: z.ZodObject<{
|
|
41951
|
+
content: z.ZodString;
|
|
41952
|
+
group_on: z.ZodString;
|
|
41953
|
+
}, "strip", z.ZodTypeAny, {
|
|
41954
|
+
content: string;
|
|
41955
|
+
group_on: string;
|
|
41956
|
+
}, {
|
|
41957
|
+
content: string;
|
|
41958
|
+
group_on: string;
|
|
41959
|
+
}>;
|
|
41960
|
+
path: "/buckets/:bucketId/questions/:questionId/answers";
|
|
40827
41961
|
headers: z.ZodObject<{
|
|
40828
41962
|
Authorization: z.ZodString;
|
|
40829
41963
|
'User-Agent': z.ZodOptional<z.ZodString>;
|
|
@@ -40838,7 +41972,7 @@ declare const contract: {
|
|
|
40838
41972
|
Accept?: "application/json" | undefined;
|
|
40839
41973
|
}>;
|
|
40840
41974
|
responses: {
|
|
40841
|
-
|
|
41975
|
+
201: z.ZodObject<{
|
|
40842
41976
|
id: z.ZodNumber;
|
|
40843
41977
|
status: z.ZodUnion<[z.ZodEnum<["active", "trashed"]>, z.ZodString]>;
|
|
40844
41978
|
visible_to_clients: z.ZodBoolean;
|
|
@@ -40962,43 +42096,11 @@ declare const contract: {
|
|
|
40962
42096
|
} | undefined;
|
|
40963
42097
|
}>;
|
|
40964
42098
|
} & {
|
|
40965
|
-
type: z.ZodLiteral<"Question">;
|
|
40966
|
-
|
|
40967
|
-
|
|
40968
|
-
frequency: z.ZodString;
|
|
40969
|
-
days: z.ZodArray<z.ZodNumber, "many">;
|
|
40970
|
-
hour: z.ZodNumber;
|
|
40971
|
-
minute: z.ZodNumber;
|
|
40972
|
-
week_instance: z.ZodNullable<z.ZodNumber>;
|
|
40973
|
-
week_interval: z.ZodNullable<z.ZodNumber>;
|
|
40974
|
-
month_interval: z.ZodNullable<z.ZodNumber>;
|
|
40975
|
-
start_date: z.ZodString;
|
|
40976
|
-
end_date: z.ZodNullable<z.ZodString>;
|
|
40977
|
-
}, "strip", z.ZodTypeAny, {
|
|
40978
|
-
start_date: string;
|
|
40979
|
-
end_date: string | null;
|
|
40980
|
-
frequency: string;
|
|
40981
|
-
days: number[];
|
|
40982
|
-
hour: number;
|
|
40983
|
-
minute: number;
|
|
40984
|
-
week_instance: number | null;
|
|
40985
|
-
week_interval: number | null;
|
|
40986
|
-
month_interval: number | null;
|
|
40987
|
-
}, {
|
|
40988
|
-
start_date: string;
|
|
40989
|
-
end_date: string | null;
|
|
40990
|
-
frequency: string;
|
|
40991
|
-
days: number[];
|
|
40992
|
-
hour: number;
|
|
40993
|
-
minute: number;
|
|
40994
|
-
week_instance: number | null;
|
|
40995
|
-
week_interval: number | null;
|
|
40996
|
-
month_interval: number | null;
|
|
40997
|
-
}>;
|
|
40998
|
-
answers_count: z.ZodNumber;
|
|
40999
|
-
answers_url: z.ZodString;
|
|
42099
|
+
type: z.ZodLiteral<"Question::Answer">;
|
|
42100
|
+
content: z.ZodString;
|
|
42101
|
+
group_on: z.ZodString;
|
|
41000
42102
|
}, "strip", z.ZodTypeAny, {
|
|
41001
|
-
type: "Question";
|
|
42103
|
+
type: "Question::Answer";
|
|
41002
42104
|
status: string;
|
|
41003
42105
|
id: number;
|
|
41004
42106
|
title: string;
|
|
@@ -41037,20 +42139,8 @@ declare const contract: {
|
|
|
41037
42139
|
name: string;
|
|
41038
42140
|
} | undefined;
|
|
41039
42141
|
};
|
|
41040
|
-
|
|
41041
|
-
|
|
41042
|
-
start_date: string;
|
|
41043
|
-
end_date: string | null;
|
|
41044
|
-
frequency: string;
|
|
41045
|
-
days: number[];
|
|
41046
|
-
hour: number;
|
|
41047
|
-
minute: number;
|
|
41048
|
-
week_instance: number | null;
|
|
41049
|
-
week_interval: number | null;
|
|
41050
|
-
month_interval: number | null;
|
|
41051
|
-
};
|
|
41052
|
-
answers_count: number;
|
|
41053
|
-
answers_url: string;
|
|
42142
|
+
content: string;
|
|
42143
|
+
group_on: string;
|
|
41054
42144
|
bookmark_url?: string | undefined;
|
|
41055
42145
|
subscription_url?: string | undefined;
|
|
41056
42146
|
comments_count?: number | undefined;
|
|
@@ -41064,7 +42154,7 @@ declare const contract: {
|
|
|
41064
42154
|
app_url: string;
|
|
41065
42155
|
} | undefined;
|
|
41066
42156
|
}, {
|
|
41067
|
-
type: "Question";
|
|
42157
|
+
type: "Question::Answer";
|
|
41068
42158
|
status: string;
|
|
41069
42159
|
id: number;
|
|
41070
42160
|
title: string;
|
|
@@ -41103,20 +42193,8 @@ declare const contract: {
|
|
|
41103
42193
|
name: string;
|
|
41104
42194
|
} | undefined;
|
|
41105
42195
|
};
|
|
41106
|
-
|
|
41107
|
-
|
|
41108
|
-
start_date: string;
|
|
41109
|
-
end_date: string | null;
|
|
41110
|
-
frequency: string;
|
|
41111
|
-
days: number[];
|
|
41112
|
-
hour: number;
|
|
41113
|
-
minute: number;
|
|
41114
|
-
week_instance: number | null;
|
|
41115
|
-
week_interval: number | null;
|
|
41116
|
-
month_interval: number | null;
|
|
41117
|
-
};
|
|
41118
|
-
answers_count: number;
|
|
41119
|
-
answers_url: string;
|
|
42196
|
+
content: string;
|
|
42197
|
+
group_on: string;
|
|
41120
42198
|
bookmark_url?: string | undefined;
|
|
41121
42199
|
subscription_url?: string | undefined;
|
|
41122
42200
|
comments_count?: number | undefined;
|
|
@@ -41706,7 +42784,7 @@ declare const contract: {
|
|
|
41706
42784
|
body: z.ZodObject<{
|
|
41707
42785
|
title: z.ZodString;
|
|
41708
42786
|
content: z.ZodString;
|
|
41709
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "
|
|
42787
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["active", "drafted"]>, z.ZodString]>>;
|
|
41710
42788
|
}, "strip", z.ZodTypeAny, {
|
|
41711
42789
|
title: string;
|
|
41712
42790
|
content: string;
|