@mazmo/sdk 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.cts +61 -1
- package/dist/index.d.ts +61 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -52,4 +52,4 @@ Each release says, at the end of this page, which version of the API it was buil
|
|
|
52
52
|
|
|
53
53
|
The reference of every endpoint is at [docs.mazmo.net](https://docs.mazmo.net).
|
|
54
54
|
|
|
55
|
-
Built against version 7.7.
|
|
55
|
+
Built against version 7.7.96 of the Mazmo API.
|
package/dist/index.d.cts
CHANGED
|
@@ -187,6 +187,10 @@ interface BankTransactionCreatedAlert {
|
|
|
187
187
|
createdAt: string;
|
|
188
188
|
updatedAt: string;
|
|
189
189
|
}
|
|
190
|
+
interface BirthdateCorrection {
|
|
191
|
+
at: string;
|
|
192
|
+
reason: "underage-at-signup" | "import-placeholder";
|
|
193
|
+
}
|
|
190
194
|
/**
|
|
191
195
|
* A bug the account reported was rejected.
|
|
192
196
|
*/
|
|
@@ -2303,6 +2307,10 @@ interface SignedInUser {
|
|
|
2303
2307
|
lastActivity: string | null;
|
|
2304
2308
|
lastContentCreatorActivity: string | null;
|
|
2305
2309
|
legal: LegalAcceptance;
|
|
2310
|
+
/**
|
|
2311
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
2312
|
+
*/
|
|
2313
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
2306
2314
|
};
|
|
2307
2315
|
canReportPublications: boolean;
|
|
2308
2316
|
checklist: {
|
|
@@ -5925,6 +5933,10 @@ interface UsersAddOrganizationAdmin {
|
|
|
5925
5933
|
lastActivity: string | null;
|
|
5926
5934
|
lastContentCreatorActivity: string | null;
|
|
5927
5935
|
legal: LegalAcceptance;
|
|
5936
|
+
/**
|
|
5937
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
5938
|
+
*/
|
|
5939
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
5928
5940
|
};
|
|
5929
5941
|
canReportPublications: boolean;
|
|
5930
5942
|
checklist: {
|
|
@@ -6044,6 +6056,10 @@ interface UsersAddTag {
|
|
|
6044
6056
|
lastActivity: string | null;
|
|
6045
6057
|
lastContentCreatorActivity: string | null;
|
|
6046
6058
|
legal: LegalAcceptance;
|
|
6059
|
+
/**
|
|
6060
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
6061
|
+
*/
|
|
6062
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
6047
6063
|
};
|
|
6048
6064
|
canReportPublications: boolean;
|
|
6049
6065
|
checklist: {
|
|
@@ -6760,6 +6776,10 @@ interface UsersRemoveOrganizationAdmin {
|
|
|
6760
6776
|
lastActivity: string | null;
|
|
6761
6777
|
lastContentCreatorActivity: string | null;
|
|
6762
6778
|
legal: LegalAcceptance;
|
|
6779
|
+
/**
|
|
6780
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
6781
|
+
*/
|
|
6782
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
6763
6783
|
};
|
|
6764
6784
|
canReportPublications: boolean;
|
|
6765
6785
|
checklist: {
|
|
@@ -6893,6 +6913,10 @@ interface UsersRemoveTag {
|
|
|
6893
6913
|
lastActivity: string | null;
|
|
6894
6914
|
lastContentCreatorActivity: string | null;
|
|
6895
6915
|
legal: LegalAcceptance;
|
|
6916
|
+
/**
|
|
6917
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
6918
|
+
*/
|
|
6919
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
6896
6920
|
};
|
|
6897
6921
|
canReportPublications: boolean;
|
|
6898
6922
|
checklist: {
|
|
@@ -7169,6 +7193,10 @@ interface UsersSortTags {
|
|
|
7169
7193
|
lastActivity: string | null;
|
|
7170
7194
|
lastContentCreatorActivity: string | null;
|
|
7171
7195
|
legal: LegalAcceptance;
|
|
7196
|
+
/**
|
|
7197
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7198
|
+
*/
|
|
7199
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7172
7200
|
};
|
|
7173
7201
|
canReportPublications: boolean;
|
|
7174
7202
|
checklist: {
|
|
@@ -7319,6 +7347,10 @@ interface UsersUpdateAvatar {
|
|
|
7319
7347
|
lastActivity: string | null;
|
|
7320
7348
|
lastContentCreatorActivity: string | null;
|
|
7321
7349
|
legal: LegalAcceptance;
|
|
7350
|
+
/**
|
|
7351
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7352
|
+
*/
|
|
7353
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7322
7354
|
};
|
|
7323
7355
|
canReportPublications: boolean;
|
|
7324
7356
|
checklist: {
|
|
@@ -7434,6 +7466,10 @@ interface UsersUpdateCover {
|
|
|
7434
7466
|
lastActivity: string | null;
|
|
7435
7467
|
lastContentCreatorActivity: string | null;
|
|
7436
7468
|
legal: LegalAcceptance;
|
|
7469
|
+
/**
|
|
7470
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7471
|
+
*/
|
|
7472
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7437
7473
|
};
|
|
7438
7474
|
canReportPublications: boolean;
|
|
7439
7475
|
checklist: {
|
|
@@ -7556,6 +7592,10 @@ interface UsersUpdateExcludeFromAdvancedSearch {
|
|
|
7556
7592
|
lastActivity: string | null;
|
|
7557
7593
|
lastContentCreatorActivity: string | null;
|
|
7558
7594
|
legal: LegalAcceptance;
|
|
7595
|
+
/**
|
|
7596
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7597
|
+
*/
|
|
7598
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7559
7599
|
};
|
|
7560
7600
|
canReportPublications: boolean;
|
|
7561
7601
|
checklist: {
|
|
@@ -7677,6 +7717,10 @@ interface UsersUpdateFollowPublicationOnComment {
|
|
|
7677
7717
|
lastActivity: string | null;
|
|
7678
7718
|
lastContentCreatorActivity: string | null;
|
|
7679
7719
|
legal: LegalAcceptance;
|
|
7720
|
+
/**
|
|
7721
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7722
|
+
*/
|
|
7723
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7680
7724
|
};
|
|
7681
7725
|
canReportPublications: boolean;
|
|
7682
7726
|
checklist: {
|
|
@@ -7817,6 +7861,10 @@ interface UsersUpdateMe {
|
|
|
7817
7861
|
lastActivity: string | null;
|
|
7818
7862
|
lastContentCreatorActivity: string | null;
|
|
7819
7863
|
legal: LegalAcceptance;
|
|
7864
|
+
/**
|
|
7865
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7866
|
+
*/
|
|
7867
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7820
7868
|
};
|
|
7821
7869
|
canReportPublications: boolean;
|
|
7822
7870
|
checklist: {
|
|
@@ -7938,6 +7986,10 @@ interface UsersUpdateOrganization {
|
|
|
7938
7986
|
lastActivity: string | null;
|
|
7939
7987
|
lastContentCreatorActivity: string | null;
|
|
7940
7988
|
legal: LegalAcceptance;
|
|
7989
|
+
/**
|
|
7990
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7991
|
+
*/
|
|
7992
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7941
7993
|
};
|
|
7942
7994
|
canReportPublications: boolean;
|
|
7943
7995
|
checklist: {
|
|
@@ -8100,6 +8152,10 @@ interface UsersUpdateProfile {
|
|
|
8100
8152
|
lastActivity: string | null;
|
|
8101
8153
|
lastContentCreatorActivity: string | null;
|
|
8102
8154
|
legal: LegalAcceptance;
|
|
8155
|
+
/**
|
|
8156
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
8157
|
+
*/
|
|
8158
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
8103
8159
|
};
|
|
8104
8160
|
canReportPublications: boolean;
|
|
8105
8161
|
checklist: {
|
|
@@ -8125,7 +8181,7 @@ interface UsersUpdateProfile {
|
|
|
8125
8181
|
initial: Onboarding;
|
|
8126
8182
|
};
|
|
8127
8183
|
}) | HiddenUser | ClosedUser;
|
|
8128
|
-
error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR">;
|
|
8184
|
+
error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"INVALID_PARAMS"> | ApiErrorOf<"UNDERAGE_AT_SIGNUP">;
|
|
8129
8185
|
}
|
|
8130
8186
|
/**
|
|
8131
8187
|
* PUT /users/starMode
|
|
@@ -8219,6 +8275,10 @@ interface UsersUpdateStarMode {
|
|
|
8219
8275
|
lastActivity: string | null;
|
|
8220
8276
|
lastContentCreatorActivity: string | null;
|
|
8221
8277
|
legal: LegalAcceptance;
|
|
8278
|
+
/**
|
|
8279
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
8280
|
+
*/
|
|
8281
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
8222
8282
|
};
|
|
8223
8283
|
canReportPublications: boolean;
|
|
8224
8284
|
checklist: {
|
package/dist/index.d.ts
CHANGED
|
@@ -187,6 +187,10 @@ interface BankTransactionCreatedAlert {
|
|
|
187
187
|
createdAt: string;
|
|
188
188
|
updatedAt: string;
|
|
189
189
|
}
|
|
190
|
+
interface BirthdateCorrection {
|
|
191
|
+
at: string;
|
|
192
|
+
reason: "underage-at-signup" | "import-placeholder";
|
|
193
|
+
}
|
|
190
194
|
/**
|
|
191
195
|
* A bug the account reported was rejected.
|
|
192
196
|
*/
|
|
@@ -2303,6 +2307,10 @@ interface SignedInUser {
|
|
|
2303
2307
|
lastActivity: string | null;
|
|
2304
2308
|
lastContentCreatorActivity: string | null;
|
|
2305
2309
|
legal: LegalAcceptance;
|
|
2310
|
+
/**
|
|
2311
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
2312
|
+
*/
|
|
2313
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
2306
2314
|
};
|
|
2307
2315
|
canReportPublications: boolean;
|
|
2308
2316
|
checklist: {
|
|
@@ -5925,6 +5933,10 @@ interface UsersAddOrganizationAdmin {
|
|
|
5925
5933
|
lastActivity: string | null;
|
|
5926
5934
|
lastContentCreatorActivity: string | null;
|
|
5927
5935
|
legal: LegalAcceptance;
|
|
5936
|
+
/**
|
|
5937
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
5938
|
+
*/
|
|
5939
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
5928
5940
|
};
|
|
5929
5941
|
canReportPublications: boolean;
|
|
5930
5942
|
checklist: {
|
|
@@ -6044,6 +6056,10 @@ interface UsersAddTag {
|
|
|
6044
6056
|
lastActivity: string | null;
|
|
6045
6057
|
lastContentCreatorActivity: string | null;
|
|
6046
6058
|
legal: LegalAcceptance;
|
|
6059
|
+
/**
|
|
6060
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
6061
|
+
*/
|
|
6062
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
6047
6063
|
};
|
|
6048
6064
|
canReportPublications: boolean;
|
|
6049
6065
|
checklist: {
|
|
@@ -6760,6 +6776,10 @@ interface UsersRemoveOrganizationAdmin {
|
|
|
6760
6776
|
lastActivity: string | null;
|
|
6761
6777
|
lastContentCreatorActivity: string | null;
|
|
6762
6778
|
legal: LegalAcceptance;
|
|
6779
|
+
/**
|
|
6780
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
6781
|
+
*/
|
|
6782
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
6763
6783
|
};
|
|
6764
6784
|
canReportPublications: boolean;
|
|
6765
6785
|
checklist: {
|
|
@@ -6893,6 +6913,10 @@ interface UsersRemoveTag {
|
|
|
6893
6913
|
lastActivity: string | null;
|
|
6894
6914
|
lastContentCreatorActivity: string | null;
|
|
6895
6915
|
legal: LegalAcceptance;
|
|
6916
|
+
/**
|
|
6917
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
6918
|
+
*/
|
|
6919
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
6896
6920
|
};
|
|
6897
6921
|
canReportPublications: boolean;
|
|
6898
6922
|
checklist: {
|
|
@@ -7169,6 +7193,10 @@ interface UsersSortTags {
|
|
|
7169
7193
|
lastActivity: string | null;
|
|
7170
7194
|
lastContentCreatorActivity: string | null;
|
|
7171
7195
|
legal: LegalAcceptance;
|
|
7196
|
+
/**
|
|
7197
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7198
|
+
*/
|
|
7199
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7172
7200
|
};
|
|
7173
7201
|
canReportPublications: boolean;
|
|
7174
7202
|
checklist: {
|
|
@@ -7319,6 +7347,10 @@ interface UsersUpdateAvatar {
|
|
|
7319
7347
|
lastActivity: string | null;
|
|
7320
7348
|
lastContentCreatorActivity: string | null;
|
|
7321
7349
|
legal: LegalAcceptance;
|
|
7350
|
+
/**
|
|
7351
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7352
|
+
*/
|
|
7353
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7322
7354
|
};
|
|
7323
7355
|
canReportPublications: boolean;
|
|
7324
7356
|
checklist: {
|
|
@@ -7434,6 +7466,10 @@ interface UsersUpdateCover {
|
|
|
7434
7466
|
lastActivity: string | null;
|
|
7435
7467
|
lastContentCreatorActivity: string | null;
|
|
7436
7468
|
legal: LegalAcceptance;
|
|
7469
|
+
/**
|
|
7470
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7471
|
+
*/
|
|
7472
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7437
7473
|
};
|
|
7438
7474
|
canReportPublications: boolean;
|
|
7439
7475
|
checklist: {
|
|
@@ -7556,6 +7592,10 @@ interface UsersUpdateExcludeFromAdvancedSearch {
|
|
|
7556
7592
|
lastActivity: string | null;
|
|
7557
7593
|
lastContentCreatorActivity: string | null;
|
|
7558
7594
|
legal: LegalAcceptance;
|
|
7595
|
+
/**
|
|
7596
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7597
|
+
*/
|
|
7598
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7559
7599
|
};
|
|
7560
7600
|
canReportPublications: boolean;
|
|
7561
7601
|
checklist: {
|
|
@@ -7677,6 +7717,10 @@ interface UsersUpdateFollowPublicationOnComment {
|
|
|
7677
7717
|
lastActivity: string | null;
|
|
7678
7718
|
lastContentCreatorActivity: string | null;
|
|
7679
7719
|
legal: LegalAcceptance;
|
|
7720
|
+
/**
|
|
7721
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7722
|
+
*/
|
|
7723
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7680
7724
|
};
|
|
7681
7725
|
canReportPublications: boolean;
|
|
7682
7726
|
checklist: {
|
|
@@ -7817,6 +7861,10 @@ interface UsersUpdateMe {
|
|
|
7817
7861
|
lastActivity: string | null;
|
|
7818
7862
|
lastContentCreatorActivity: string | null;
|
|
7819
7863
|
legal: LegalAcceptance;
|
|
7864
|
+
/**
|
|
7865
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7866
|
+
*/
|
|
7867
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7820
7868
|
};
|
|
7821
7869
|
canReportPublications: boolean;
|
|
7822
7870
|
checklist: {
|
|
@@ -7938,6 +7986,10 @@ interface UsersUpdateOrganization {
|
|
|
7938
7986
|
lastActivity: string | null;
|
|
7939
7987
|
lastContentCreatorActivity: string | null;
|
|
7940
7988
|
legal: LegalAcceptance;
|
|
7989
|
+
/**
|
|
7990
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
7991
|
+
*/
|
|
7992
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
7941
7993
|
};
|
|
7942
7994
|
canReportPublications: boolean;
|
|
7943
7995
|
checklist: {
|
|
@@ -8100,6 +8152,10 @@ interface UsersUpdateProfile {
|
|
|
8100
8152
|
lastActivity: string | null;
|
|
8101
8153
|
lastContentCreatorActivity: string | null;
|
|
8102
8154
|
legal: LegalAcceptance;
|
|
8155
|
+
/**
|
|
8156
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
8157
|
+
*/
|
|
8158
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
8103
8159
|
};
|
|
8104
8160
|
canReportPublications: boolean;
|
|
8105
8161
|
checklist: {
|
|
@@ -8125,7 +8181,7 @@ interface UsersUpdateProfile {
|
|
|
8125
8181
|
initial: Onboarding;
|
|
8126
8182
|
};
|
|
8127
8183
|
}) | HiddenUser | ClosedUser;
|
|
8128
|
-
error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR">;
|
|
8184
|
+
error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"INVALID_PARAMS"> | ApiErrorOf<"UNDERAGE_AT_SIGNUP">;
|
|
8129
8185
|
}
|
|
8130
8186
|
/**
|
|
8131
8187
|
* PUT /users/starMode
|
|
@@ -8219,6 +8275,10 @@ interface UsersUpdateStarMode {
|
|
|
8219
8275
|
lastActivity: string | null;
|
|
8220
8276
|
lastContentCreatorActivity: string | null;
|
|
8221
8277
|
legal: LegalAcceptance;
|
|
8278
|
+
/**
|
|
8279
|
+
* Present when Mazmo changed the birthdate of the account and the account has not acknowledged it yet: when, and why.
|
|
8280
|
+
*/
|
|
8281
|
+
birthdateCorrection?: BirthdateCorrection;
|
|
8222
8282
|
};
|
|
8223
8283
|
canReportPublications: boolean;
|
|
8224
8284
|
checklist: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mazmo/sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Typed client for the Mazmo API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.mazmo.net",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=18"
|
|
34
34
|
},
|
|
35
35
|
"mazmo": {
|
|
36
|
-
"commit": "
|
|
37
|
-
"apiVersion": "7.7.
|
|
36
|
+
"commit": "42bef6e8a7d3bfbcb6fc0c75049fa3f31338fb31",
|
|
37
|
+
"apiVersion": "7.7.96"
|
|
38
38
|
}
|
|
39
39
|
}
|