@nizam-os/carrier-sdk 2.3.2 → 2.3.3
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.
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as NizamCarrier from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Envelope for paginated list responses (Stripe-style cursor pagination).
|
|
4
|
+
*/
|
|
5
|
+
export interface ListResponseOrganization {
|
|
6
|
+
/** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
|
|
7
|
+
object?: ListResponseOrganization.Object_ | undefined;
|
|
8
|
+
/** Page of resources. Empty array when there are no matches. */
|
|
9
|
+
data?: NizamCarrier.Organization[] | undefined;
|
|
10
|
+
/** True when more pages exist; pass `next_cursor` as `?starting_after=` to fetch the next page. */
|
|
11
|
+
has_more?: boolean | undefined;
|
|
12
|
+
/** True when earlier pages exist; pass `prev_cursor` as `?ending_before=` to fetch the previous page. */
|
|
13
|
+
has_previous?: boolean | undefined;
|
|
14
|
+
/** Opaque cursor for the next page. `null` on the last page. */
|
|
15
|
+
next_cursor?: string | undefined;
|
|
16
|
+
/** Opaque cursor for the previous page. `null` on the first page. */
|
|
17
|
+
prev_cursor?: string | undefined;
|
|
18
|
+
/** Page size that produced this response. */
|
|
19
|
+
limit?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace ListResponseOrganization {
|
|
22
|
+
/** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
|
|
23
|
+
const Object_: {
|
|
24
|
+
readonly List: "list";
|
|
25
|
+
};
|
|
26
|
+
type Object_ = (typeof Object_)[keyof typeof Object_];
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListResponseOrganization = void 0;
|
|
5
|
+
var ListResponseOrganization;
|
|
6
|
+
(function (ListResponseOrganization) {
|
|
7
|
+
/** Object type discriminator (Stripe pattern). Always `list` for this envelope. */
|
|
8
|
+
ListResponseOrganization.Object_ = {
|
|
9
|
+
List: "list",
|
|
10
|
+
};
|
|
11
|
+
})(ListResponseOrganization || (exports.ListResponseOrganization = ListResponseOrganization = {}));
|
|
@@ -22,6 +22,7 @@ export * from "./ListResponseCountry.js";
|
|
|
22
22
|
export * from "./ListResponseCurrency.js";
|
|
23
23
|
export * from "./ListResponseLanguage.js";
|
|
24
24
|
export * from "./ListResponseMembership.js";
|
|
25
|
+
export * from "./ListResponseOrganization.js";
|
|
25
26
|
export * from "./ListResponseTimezone.js";
|
|
26
27
|
export * from "./ListResponseUserResource.js";
|
|
27
28
|
export * from "./Membership.js";
|
package/dist/api/types/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __exportStar(require("./ListResponseCountry.js"), exports);
|
|
|
38
38
|
__exportStar(require("./ListResponseCurrency.js"), exports);
|
|
39
39
|
__exportStar(require("./ListResponseLanguage.js"), exports);
|
|
40
40
|
__exportStar(require("./ListResponseMembership.js"), exports);
|
|
41
|
+
__exportStar(require("./ListResponseOrganization.js"), exports);
|
|
41
42
|
__exportStar(require("./ListResponseTimezone.js"), exports);
|
|
42
43
|
__exportStar(require("./ListResponseUserResource.js"), exports);
|
|
43
44
|
__exportStar(require("./Membership.js"), exports);
|