@4players/payment 1.0.1-beta.1 → 1.0.1-beta.2

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.cts CHANGED
@@ -524,10 +524,10 @@ interface components {
524
524
  */
525
525
  UserStatus: "active" | "pending" | "revoked";
526
526
  /**
527
- * @description The role of the user within the project.
527
+ * @description The role of the user within the project. Admin has full access to the project including managing users. Maintainer has rfull read-write access to the project but cannot manage users. Developer has read access to the project but cannot manage users and cannot create certain resources in the project.
528
528
  * @enum {string}
529
529
  */
530
- PermissionRole: "maintainer" | "admin" | "developer";
530
+ PermissionRole: "admin" | "maintainer" | "developer";
531
531
  SuccessResponse: {
532
532
  /** @description Indicates whether the operation was successful. */
533
533
  success?: boolean;
@@ -616,8 +616,7 @@ interface components {
616
616
  /** @description A list of access keys associated with the project. */
617
617
  accessKeys?: components["schemas"]["OdinAccessKey"][];
618
618
  subscription?: components["schemas"]["Subscription"];
619
- /** @description The role of the requesting user in the context of the project. */
620
- role?: string;
619
+ role?: components["schemas"]["PermissionRole"];
621
620
  permissions?: components["schemas"]["OdinUserPermissions"];
622
621
  /** @description A list of users associated with the project. */
623
622
  users?: components["schemas"]["OdinUserRole"][];
package/dist/index.d.ts CHANGED
@@ -524,10 +524,10 @@ interface components {
524
524
  */
525
525
  UserStatus: "active" | "pending" | "revoked";
526
526
  /**
527
- * @description The role of the user within the project.
527
+ * @description The role of the user within the project. Admin has full access to the project including managing users. Maintainer has rfull read-write access to the project but cannot manage users. Developer has read access to the project but cannot manage users and cannot create certain resources in the project.
528
528
  * @enum {string}
529
529
  */
530
- PermissionRole: "maintainer" | "admin" | "developer";
530
+ PermissionRole: "admin" | "maintainer" | "developer";
531
531
  SuccessResponse: {
532
532
  /** @description Indicates whether the operation was successful. */
533
533
  success?: boolean;
@@ -616,8 +616,7 @@ interface components {
616
616
  /** @description A list of access keys associated with the project. */
617
617
  accessKeys?: components["schemas"]["OdinAccessKey"][];
618
618
  subscription?: components["schemas"]["Subscription"];
619
- /** @description The role of the requesting user in the context of the project. */
620
- role?: string;
619
+ role?: components["schemas"]["PermissionRole"];
621
620
  permissions?: components["schemas"]["OdinUserPermissions"];
622
621
  /** @description A list of users associated with the project. */
623
622
  users?: components["schemas"]["OdinUserRole"][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4players/payment",
3
- "version": "1.0.1-beta.1",
3
+ "version": "1.0.1-beta.2",
4
4
  "description": "Official TypeScript SDK for the 4Players Payment API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",